Table of Contents

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

errorCode int

A 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

Quark

BadUri

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

public static ConvertError BadUri { get; }

Property Value

ConvertError

EmbeddedNul

Can be used to match a GException with the "EmbeddedNul" code (7).

public static ConvertError EmbeddedNul { get; }

Property Value

ConvertError

Failed

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

public static ConvertError Failed { get; }

Property Value

ConvertError

IllegalSequence

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

public static ConvertError IllegalSequence { get; }

Property Value

ConvertError

NoConversion

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

public static ConvertError NoConversion { get; }

Property Value

ConvertError

NoMemory

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

public static ConvertError NoMemory { get; }

Property Value

ConvertError

NotAbsolutePath

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

public static ConvertError NotAbsolutePath { get; }

Property Value

ConvertError

PartialInput

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

public static ConvertError PartialInput { get; }

Property Value

ConvertError

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)

Parameters

e ConvertError

Returns

ErrorCode