Table of Contents

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

errorCode int

A 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

Quark

Encoding

Can be used to match a GException with the "Encoding" code (1).

public static SessionError Encoding { get; }

Property Value

SessionError

MessageAlreadyInQueue

Can be used to match a GException with the "MessageAlreadyInQueue" code (6).

public static SessionError MessageAlreadyInQueue { get; }

Property Value

SessionError

Parsing

Can be used to match a GException with the "Parsing" code (0).

public static SessionError Parsing { get; }

Property Value

SessionError

RedirectBadUri

Can be used to match a GException with the "RedirectBadUri" code (5).

public static SessionError RedirectBadUri { get; }

Property Value

SessionError

RedirectNoLocation

Can be used to match a GException with the "RedirectNoLocation" code (4).

public static SessionError RedirectNoLocation { get; }

Property Value

SessionError

TooManyRedirects

Can be used to match a GException with the "TooManyRedirects" code (2).

public static SessionError TooManyRedirects { get; }

Property Value

SessionError

TooManyRestarts

Can be used to match a GException with the "TooManyRestarts" code (3).

public static SessionError TooManyRestarts { get; }

Property Value

SessionError

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)

Parameters

e SessionError

Returns

ErrorCode