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