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
errorCodeintA 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
CompilationFailed
Can be used to match a GException with the "CompilationFailed" code (3).
public static GLError CompilationFailed { get; }
Property Value
LinkFailed
Can be used to match a GException with the "LinkFailed" code (4).
public static GLError LinkFailed { get; }
Property Value
NotAvailable
Can be used to match a GException with the "NotAvailable" code (0).
public static GLError NotAvailable { get; }
Property Value
UnsupportedFormat
Can be used to match a GException with the "UnsupportedFormat" code (1).
public static GLError UnsupportedFormat { get; }
Property Value
UnsupportedProfile
Can be used to match a GException with the "UnsupportedProfile" code (2).
public static GLError UnsupportedProfile { get; }
Property Value
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
eGLError