Struct ConvertError
- Namespace
- GLib
- Assembly
- GLib-2.0.dll
Contains all error codes of the ConvertError error-domain.
public readonly ref struct ConvertError
- Inherited Members
Constructors
ConvertError(int)
Creates a new error in the ConvertError domain with a given error code.
public ConvertError(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 "ConvertError" error-domain.
public static Quark Any { get; }
Property Value
BadUri
Can be used to match a GException with the "BadUri" code (4).
public static ConvertError BadUri { get; }
Property Value
EmbeddedNul
Can be used to match a GException with the "EmbeddedNul" code (7).
public static ConvertError EmbeddedNul { get; }
Property Value
Failed
Can be used to match a GException with the "Failed" code (2).
public static ConvertError Failed { get; }
Property Value
IllegalSequence
Can be used to match a GException with the "IllegalSequence" code (1).
public static ConvertError IllegalSequence { get; }
Property Value
NoConversion
Can be used to match a GException with the "NoConversion" code (0).
public static ConvertError NoConversion { get; }
Property Value
NoMemory
Can be used to match a GException with the "NoMemory" code (6).
public static ConvertError NoMemory { get; }
Property Value
NotAbsolutePath
Can be used to match a GException with the "NotAbsolutePath" code (5).
public static ConvertError NotAbsolutePath { get; }
Property Value
PartialInput
Can be used to match a GException with the "PartialInput" code (3).
public static ConvertError PartialInput { get; }
Property Value
Operators
implicit operator ErrorCode(ConvertError)
Converts a ConvertError into a ErrorCode which can be used to match a GException.
public static implicit operator ErrorCode(ConvertError e)