Table of Contents

Struct PolicyError

Namespace
WebKit
Assembly
WebKit-6.0.dll

Contains all error codes of the PolicyError error-domain.

public readonly ref struct PolicyError
Inherited Members

Constructors

PolicyError(int)

Creates a new error in the PolicyError domain with a given error code.

public PolicyError(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 "PolicyError" error-domain.

public static Quark Any { get; }

Property Value

Quark

CannotShowMimeType

Can be used to match a GException with the "CannotShowMimeType" code (100).

public static PolicyError CannotShowMimeType { get; }

Property Value

PolicyError

CannotShowUri

Can be used to match a GException with the "CannotShowUri" code (101).

public static PolicyError CannotShowUri { get; }

Property Value

PolicyError

CannotUseRestrictedPort

Can be used to match a GException with the "CannotUseRestrictedPort" code (103).

public static PolicyError CannotUseRestrictedPort { get; }

Property Value

PolicyError

Failed

Can be used to match a GException with the "Failed" code (199).

public static PolicyError Failed { get; }

Property Value

PolicyError

FrameLoadInterruptedByPolicyChange

Can be used to match a GException with the "FrameLoadInterruptedByPolicyChange" code (102).

public static PolicyError FrameLoadInterruptedByPolicyChange { get; }

Property Value

PolicyError

Operators

implicit operator ErrorCode(PolicyError)

Converts a PolicyError into a ErrorCode which can be used to match a GException.

public static implicit operator ErrorCode(PolicyError e)

Parameters

e PolicyError

Returns

ErrorCode