Struct PrintError
- Namespace
- WebKit
- Assembly
- WebKit-6.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 (599).
public static PrintError General { get; }
Property Value
InvalidPageRange
Can be used to match a GException with the "InvalidPageRange" code (501).
public static PrintError InvalidPageRange { get; }
Property Value
PrinterNotFound
Can be used to match a GException with the "PrinterNotFound" code (500).
public static PrintError PrinterNotFound { 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)