Owneat Technical Guide main Help

Class OwneatTechnicalException

Namespace: Common.Exceptions
Assembly: Common.dll

Common.Exceptions.OwneatTechnicalException is the class that represents the generic error sent by the server to inform client that something went wrong.

public class OwneatTechnicalException : Exception, ISerializable

Inheritance

objectException ← OwneatTechnicalException

Derived

BadRequestException, CantServeACanceledItemException, ConflictException, CustomerLimitReachedException, ForbiddenException, NotFoundException, UnauthorizedException, UnavailableServiceException

Implements

ISerializable

Inherited Members

Exception.GetBaseException\(\), Exception.GetType\(\), Exception.ToString\(\), Exception.Data, Exception.HelpLink, Exception.HResult, Exception.InnerException, Exception.Message, Exception.Source, Exception.StackTrace, Exception.TargetSite, Exception.SerializeObjectState, object.Equals\(object?\), object.Equals\(object?, object?\), object.GetHashCode\(\), object.GetType\(\), object.MemberwiseClone\(\), object.ReferenceEquals\(object?, object?\), object.ToString\(\)

Constructors

OwneatTechnicalException\(Error, string, HttpStatusCode\)

protected OwneatTechnicalException(Error error, string message, HttpStatusCode statusCode)

Parameters

error Error

message string

statusCode HttpStatusCode

Properties

Error

public Error Error { get; }

Property Value

Error

StatusCode

public HttpStatusCode StatusCode { get; }

Property Value

HttpStatusCode

Type

public string Type { get; }

Property Value

string

Last modified: 21 May 2024