Struct UriError
- Namespace
- GLib
- Assembly
- GLib-2.0.dll
Contains all error codes of the UriError error-domain.
public readonly ref struct UriError
- Inherited Members
Constructors
UriError(int)
Creates a new error in the UriError domain with a given error code.
public UriError(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 "UriError" error-domain.
public static Quark Any { get; }
Property Value
BadAuthParams
Can be used to match a GException with the "BadAuthParams" code (4).
public static UriError BadAuthParams { get; }
Property Value
BadFragment
Can be used to match a GException with the "BadFragment" code (9).
public static UriError BadFragment { get; }
Property Value
BadHost
Can be used to match a GException with the "BadHost" code (5).
public static UriError BadHost { get; }
Property Value
BadPassword
Can be used to match a GException with the "BadPassword" code (3).
public static UriError BadPassword { get; }
Property Value
BadPath
Can be used to match a GException with the "BadPath" code (7).
public static UriError BadPath { get; }
Property Value
BadPort
Can be used to match a GException with the "BadPort" code (6).
public static UriError BadPort { get; }
Property Value
BadQuery
Can be used to match a GException with the "BadQuery" code (8).
public static UriError BadQuery { get; }
Property Value
BadScheme
Can be used to match a GException with the "BadScheme" code (1).
public static UriError BadScheme { get; }
Property Value
BadUser
Can be used to match a GException with the "BadUser" code (2).
public static UriError BadUser { get; }
Property Value
Failed
Can be used to match a GException with the "Failed" code (0).
public static UriError Failed { get; }
Property Value
Operators
implicit operator ErrorCode(UriError)
Converts a UriError into a ErrorCode which can be used to match a GException.
public static implicit operator ErrorCode(UriError e)
Parameters
eUriError