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