Table of Contents

Struct WebExtensionError

Namespace
WebKit
Assembly
WebKit-6.0.dll

Contains all error codes of the WebExtensionError error-domain.

public readonly ref struct WebExtensionError
Inherited Members

Constructors

WebExtensionError(int)

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

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

public static Quark Any { get; }

Property Value

Quark

InvalidArchive

Can be used to match a GException with the "InvalidArchive" code (807).

public static WebExtensionError InvalidArchive { get; }

Property Value

WebExtensionError

InvalidBackgroundPersistence

Can be used to match a GException with the "InvalidBackgroundPersistence" code (806).

public static WebExtensionError InvalidBackgroundPersistence { get; }

Property Value

WebExtensionError

InvalidDeclarativeNetRequestEntry

Can be used to match a GException with the "InvalidDeclarativeNetRequestEntry" code (805).

public static WebExtensionError InvalidDeclarativeNetRequestEntry { get; }

Property Value

WebExtensionError

InvalidManifest

Can be used to match a GException with the "InvalidManifest" code (802).

public static WebExtensionError InvalidManifest { get; }

Property Value

WebExtensionError

InvalidManifestEntry

Can be used to match a GException with the "InvalidManifestEntry" code (804).

public static WebExtensionError InvalidManifestEntry { get; }

Property Value

WebExtensionError

InvalidResourceCodeSignature

Can be used to match a GException with the "InvalidResourceCodeSignature" code (801).

public static WebExtensionError InvalidResourceCodeSignature { get; }

Property Value

WebExtensionError

ResourceNotFound

Can be used to match a GException with the "ResourceNotFound" code (800).

public static WebExtensionError ResourceNotFound { get; }

Property Value

WebExtensionError

Unknown

Can be used to match a GException with the "Unknown" code (899).

public static WebExtensionError Unknown { get; }

Property Value

WebExtensionError

UnsupportedManifestVersion

Can be used to match a GException with the "UnsupportedManifestVersion" code (803).

public static WebExtensionError UnsupportedManifestVersion { get; }

Property Value

WebExtensionError

Operators

implicit operator ErrorCode(WebExtensionError)

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

public static implicit operator ErrorCode(WebExtensionError e)

Parameters

e WebExtensionError

Returns

ErrorCode