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
errorCodeintA 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
InvalidArchive
Can be used to match a GException with the "InvalidArchive" code (807).
public static WebExtensionError InvalidArchive { get; }
Property Value
InvalidBackgroundPersistence
Can be used to match a GException with the "InvalidBackgroundPersistence" code (806).
public static WebExtensionError InvalidBackgroundPersistence { get; }
Property Value
InvalidDeclarativeNetRequestEntry
Can be used to match a GException with the "InvalidDeclarativeNetRequestEntry" code (805).
public static WebExtensionError InvalidDeclarativeNetRequestEntry { get; }
Property Value
InvalidManifest
Can be used to match a GException with the "InvalidManifest" code (802).
public static WebExtensionError InvalidManifest { get; }
Property Value
InvalidManifestEntry
Can be used to match a GException with the "InvalidManifestEntry" code (804).
public static WebExtensionError InvalidManifestEntry { get; }
Property Value
InvalidResourceCodeSignature
Can be used to match a GException with the "InvalidResourceCodeSignature" code (801).
public static WebExtensionError InvalidResourceCodeSignature { get; }
Property Value
ResourceNotFound
Can be used to match a GException with the "ResourceNotFound" code (800).
public static WebExtensionError ResourceNotFound { get; }
Property Value
Unknown
Can be used to match a GException with the "Unknown" code (899).
public static WebExtensionError Unknown { get; }
Property Value
UnsupportedManifestVersion
Can be used to match a GException with the "UnsupportedManifestVersion" code (803).
public static WebExtensionError UnsupportedManifestVersion { get; }
Property Value
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)