Table of Contents

Struct GLError

Namespace
Gdk
Assembly
Gdk-4.0.dll

Contains all error codes of the GLError error-domain.

public readonly ref struct GLError
Inherited Members

Constructors

GLError(int)

Creates a new error in the GLError domain with a given error code.

public GLError(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 "GLError" error-domain.

public static Quark Any { get; }

Property Value

Quark

CompilationFailed

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

public static GLError CompilationFailed { get; }

Property Value

GLError

LinkFailed

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

public static GLError LinkFailed { get; }

Property Value

GLError

NotAvailable

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

public static GLError NotAvailable { get; }

Property Value

GLError

UnsupportedFormat

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

public static GLError UnsupportedFormat { get; }

Property Value

GLError

UnsupportedProfile

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

public static GLError UnsupportedProfile { get; }

Property Value

GLError

Operators

implicit operator ErrorCode(GLError)

Converts a GLError into a ErrorCode which can be used to match a GException.

public static implicit operator ErrorCode(GLError e)

Parameters

e GLError

Returns

ErrorCode