Class BackendException
Server (Service/Remote) => Client (Protocol/Local).
Shit server sends when things go south.
Inheritance
BackendException
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
|
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
Properties
|
Edit this page
View Source
Error
Declaration
public IServiceError Error { get; }
Property Value
|
Edit this page
View Source
IsRetryable
Declaration
public virtual bool IsRetryable { get; }
Property Value
|
Edit this page
View Source
Raw
Declaration
public string Raw { get; }
Property Value
|
Edit this page
View Source
ServiceName
Declaration
public string ServiceName { get; }
Property Value
|
Edit this page
View Source
StatusCode
Declaration
public long? StatusCode { get; }
Property Value
|
Edit this page
View Source
Type
Declaration
public BackendErrorType Type { get; }
Property Value
Methods
|
Edit this page
View Source
ToString()
Declaration
public override string ToString()
Returns
Overrides
Implements
Extension Methods