Table of Contents

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

errorCode int

A 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

Quark

DuplicateId

Can be used to match a GException with the "DuplicateId" code (8).

public static BuilderError DuplicateId { get; }

Property Value

BuilderError

InvalidAttribute

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

public static BuilderError InvalidAttribute { get; }

Property Value

BuilderError

InvalidFunction

Can be used to match a GException with the "InvalidFunction" code (14).

public static BuilderError InvalidFunction { get; }

Property Value

BuilderError

InvalidId

Can be used to match a GException with the "InvalidId" code (13).

public static BuilderError InvalidId { get; }

Property Value

BuilderError

InvalidProperty

Can be used to match a GException with the "InvalidProperty" code (11).

public static BuilderError InvalidProperty { get; }

Property Value

BuilderError

InvalidSignal

Can be used to match a GException with the "InvalidSignal" code (12).

public static BuilderError InvalidSignal { get; }

Property Value

BuilderError

InvalidTag

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

public static BuilderError InvalidTag { get; }

Property Value

BuilderError

InvalidTypeFunction

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

public static BuilderError InvalidTypeFunction { get; }

Property Value

BuilderError

InvalidValue

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

public static BuilderError InvalidValue { get; }

Property Value

BuilderError

MissingAttribute

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

public static BuilderError MissingAttribute { get; }

Property Value

BuilderError

MissingPropertyValue

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

public static BuilderError MissingPropertyValue { get; }

Property Value

BuilderError

ObjectTypeRefused

Can be used to match a GException with the "ObjectTypeRefused" code (9).

public static BuilderError ObjectTypeRefused { get; }

Property Value

BuilderError

TemplateMismatch

Can be used to match a GException with the "TemplateMismatch" code (10).

public static BuilderError TemplateMismatch { get; }

Property Value

BuilderError

UnhandledTag

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

public static BuilderError UnhandledTag { get; }

Property Value

BuilderError

VersionMismatch

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

public static BuilderError VersionMismatch { get; }

Property Value

BuilderError

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)

Parameters

e BuilderError

Returns

ErrorCode