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