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
errorCodeintA 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
CannotShowMimeType
Can be used to match a GException with the "CannotShowMimeType" code (100).
public static PolicyError CannotShowMimeType { get; }
Property Value
CannotShowUri
Can be used to match a GException with the "CannotShowUri" code (101).
public static PolicyError CannotShowUri { get; }
Property Value
CannotUseRestrictedPort
Can be used to match a GException with the "CannotUseRestrictedPort" code (103).
public static PolicyError CannotUseRestrictedPort { get; }
Property Value
Failed
Can be used to match a GException with the "Failed" code (199).
public static PolicyError Failed { get; }
Property Value
FrameLoadInterruptedByPolicyChange
Can be used to match a GException with the "FrameLoadInterruptedByPolicyChange" code (102).
public static PolicyError FrameLoadInterruptedByPolicyChange { get; }
Property Value
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)