Struct SessionError
- Namespace
- Soup
- Assembly
- Soup-3.0.dll
Contains all error codes of the SessionError error-domain.
public readonly ref struct SessionError
- Inherited Members
Constructors
SessionError(int)
Creates a new error in the SessionError domain with a given error code.
public SessionError(int errorCode)
Parameters
errorCodeintA specific error code of the domain
Properties
Any
Can be used to match a GException with any error code of the "SessionError" error-domain.
public static Quark Any { get; }
Property Value
Encoding
Can be used to match a GException with the "Encoding" code (1).
public static SessionError Encoding { get; }
Property Value
MessageAlreadyInQueue
Can be used to match a GException with the "MessageAlreadyInQueue" code (6).
public static SessionError MessageAlreadyInQueue { get; }
Property Value
Parsing
Can be used to match a GException with the "Parsing" code (0).
public static SessionError Parsing { get; }
Property Value
RedirectBadUri
Can be used to match a GException with the "RedirectBadUri" code (5).
public static SessionError RedirectBadUri { get; }
Property Value
RedirectNoLocation
Can be used to match a GException with the "RedirectNoLocation" code (4).
public static SessionError RedirectNoLocation { get; }
Property Value
TooManyRedirects
Can be used to match a GException with the "TooManyRedirects" code (2).
public static SessionError TooManyRedirects { get; }
Property Value
TooManyRestarts
Can be used to match a GException with the "TooManyRestarts" code (3).
public static SessionError TooManyRestarts { get; }
Property Value
Operators
implicit operator ErrorCode(SessionError)
Converts a SessionError into a ErrorCode which can be used to match a GException.
public static implicit operator ErrorCode(SessionError e)