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