Struct ResolverError
- Namespace
- Gio
- Assembly
- Gio-2.0.dll
Contains all error codes of the ResolverError error-domain.
public readonly ref struct ResolverError
- Inherited Members
Constructors
ResolverError(int)
Creates a new error in the ResolverError domain with a given error code.
public ResolverError(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 "ResolverError" error-domain.
public static Quark Any { get; }
Property Value
Internal
Can be used to match a GException with the "Internal" code (2).
public static ResolverError Internal { get; }
Property Value
NotFound
Can be used to match a GException with the "NotFound" code (0).
public static ResolverError NotFound { get; }
Property Value
TemporaryFailure
Can be used to match a GException with the "TemporaryFailure" code (1).
public static ResolverError TemporaryFailure { get; }
Property Value
Operators
implicit operator ErrorCode(ResolverError)
Converts a ResolverError into a ErrorCode which can be used to match a GException.
public static implicit operator ErrorCode(ResolverError e)