Struct BuilderError
- Namespace
- Gtk
- Assembly
- Gtk-4.0.dll
Contains all error codes of the BuilderError error-domain.
public readonly ref struct BuilderError
- Inherited Members
Constructors
BuilderError(int)
Creates a new error in the BuilderError domain with a given error code.
public BuilderError(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 "BuilderError" error-domain.
public static Quark Any { get; }
Property Value
DuplicateId
Can be used to match a GException with the "DuplicateId" code (8).
public static BuilderError DuplicateId { get; }
Property Value
InvalidAttribute
Can be used to match a GException with the "InvalidAttribute" code (3).
public static BuilderError InvalidAttribute { get; }
Property Value
InvalidFunction
Can be used to match a GException with the "InvalidFunction" code (14).
public static BuilderError InvalidFunction { get; }
Property Value
InvalidId
Can be used to match a GException with the "InvalidId" code (13).
public static BuilderError InvalidId { get; }
Property Value
InvalidProperty
Can be used to match a GException with the "InvalidProperty" code (11).
public static BuilderError InvalidProperty { get; }
Property Value
InvalidSignal
Can be used to match a GException with the "InvalidSignal" code (12).
public static BuilderError InvalidSignal { get; }
Property Value
InvalidTag
Can be used to match a GException with the "InvalidTag" code (4).
public static BuilderError InvalidTag { get; }
Property Value
InvalidTypeFunction
Can be used to match a GException with the "InvalidTypeFunction" code (0).
public static BuilderError InvalidTypeFunction { get; }
Property Value
InvalidValue
Can be used to match a GException with the "InvalidValue" code (6).
public static BuilderError InvalidValue { get; }
Property Value
MissingAttribute
Can be used to match a GException with the "MissingAttribute" code (2).
public static BuilderError MissingAttribute { get; }
Property Value
MissingPropertyValue
Can be used to match a GException with the "MissingPropertyValue" code (5).
public static BuilderError MissingPropertyValue { get; }
Property Value
ObjectTypeRefused
Can be used to match a GException with the "ObjectTypeRefused" code (9).
public static BuilderError ObjectTypeRefused { get; }
Property Value
TemplateMismatch
Can be used to match a GException with the "TemplateMismatch" code (10).
public static BuilderError TemplateMismatch { get; }
Property Value
UnhandledTag
Can be used to match a GException with the "UnhandledTag" code (1).
public static BuilderError UnhandledTag { get; }
Property Value
VersionMismatch
Can be used to match a GException with the "VersionMismatch" code (7).
public static BuilderError VersionMismatch { get; }
Property Value
Operators
implicit operator ErrorCode(BuilderError)
Converts a BuilderError into a ErrorCode which can be used to match a GException.
public static implicit operator ErrorCode(BuilderError e)