Table of Contents

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

errorCode int

A 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

Quark

General

Can be used to match a GException with the "General" code (599).

public static PrintError General { get; }

Property Value

PrintError

InvalidPageRange

Can be used to match a GException with the "InvalidPageRange" code (501).

public static PrintError InvalidPageRange { get; }

Property Value

PrintError

PrinterNotFound

Can be used to match a GException with the "PrinterNotFound" code (500).

public static PrintError PrinterNotFound { get; }

Property Value

PrintError

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)

Parameters

e PrintError

Returns

ErrorCode