Search Results for

    Show / Hide Table of Contents

    Class BackendException

    Server (Service/Remote) => Client (Protocol/Local). Shit server sends when things go south.

    Inheritance
    object
    Exception
    BackendException
    AwsException
    GraphException
    AccessDeniedException
    InternalServerException
    PaymentRequiredException
    RequestValidationException
    ResourceNotFoundException
    ServerSentEventException
    ServiceUnavailableException
    ThrottlingException
    Implements
    ISerializable
    Inherited Members
    Exception.GetBaseException()
    Exception.GetObjectData(SerializationInfo, StreamingContext)
    Exception.GetType()
    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.MemberwiseClone()
    object.ReferenceEquals(object, object)
    Namespace: Glitch9.IO.Networking.RESTApi
    Assembly: Glitch9.IO.dll
    Syntax
    public class BackendException : Exception, ISerializable

    Constructors

    | Edit this page View Source

    BackendException(BackendErrorType, string, string, long?, bool)

    Declaration
    public BackendException(BackendErrorType type, string serviceName, string message, long? statusCode = null, bool isRetryable = false)
    Parameters
    Type Name Description
    BackendErrorType type
    string serviceName
    string message
    long? statusCode
    bool isRetryable
    | Edit this page View Source

    BackendException(IServiceError, BackendErrorType, string, string, long?, bool)

    Declaration
    public BackendException(IServiceError error, BackendErrorType type = BackendErrorType.Unknown, string serviceName = null, string raw = null, long? statusCode = null, bool isRetryable = false)
    Parameters
    Type Name Description
    IServiceError error
    BackendErrorType type
    string serviceName
    string raw
    long? statusCode
    bool isRetryable

    Properties

    | Edit this page View Source

    Error

    Declaration
    public IServiceError Error { get; }
    Property Value
    Type Description
    IServiceError
    | Edit this page View Source

    IsRetryable

    Declaration
    public virtual bool IsRetryable { get; }
    Property Value
    Type Description
    bool
    | Edit this page View Source

    Raw

    Declaration
    public string Raw { get; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    ServiceName

    Declaration
    public string ServiceName { get; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    StatusCode

    Declaration
    public long? StatusCode { get; }
    Property Value
    Type Description
    long?
    | Edit this page View Source

    Type

    Declaration
    public BackendErrorType Type { get; }
    Property Value
    Type Description
    BackendErrorType

    Methods

    | Edit this page View Source

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    string
    Overrides
    Exception.ToString()

    Implements

    ISerializable

    Extension Methods

    ArrayExtensions.ToArrayOrEmpty<T>(T)
    ArrayExtensions.ToArrayOrNull<T>(T)
    EventExtensions.ToDelta<T>(T, string, int, string, bool)
    EventExtensions.ToDone<T>(T, string, int, string)
    EventExtensions.ToErrorEvent<T>(T)
    EventExtensions.ToEvent<T>(T)
    EventExtensions.UpcastDelta<T1, T2>(T1, string, int, string, bool)
    FallbackExtensions.IsOr<TParent, TChild>(TParent, TChild)
    ResponseCastingExtensions.GetResult<T>(T)
    ExceptionExtensions.ExtractDiagnosticMessage(Exception)
    ExceptionExtensions.ExtractServerError(Exception)
    ExceptionExtensions.GetFullMessage(Exception)
    SystemExtensions.GetName(object)
    • Edit this page
    • View Source
    In this article
    Back to top AI DevKit Documentation