Struct WebExtensionMatchPatternError
- Namespace
- WebKit
- Assembly
- WebKit-6.0.dll
Contains all error codes of the WebExtensionMatchPatternError error-domain.
public readonly ref struct WebExtensionMatchPatternError
- Inherited Members
Constructors
WebExtensionMatchPatternError(int)
Creates a new error in the WebExtensionMatchPatternError domain with a given error code.
public WebExtensionMatchPatternError(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 "WebExtensionMatchPatternError" error-domain.
public static Quark Any { get; }
Property Value
InvalidHost
Can be used to match a GException with the "InvalidHost" code (809).
public static WebExtensionMatchPatternError InvalidHost { get; }
Property Value
InvalidPath
Can be used to match a GException with the "InvalidPath" code (810).
public static WebExtensionMatchPatternError InvalidPath { get; }
Property Value
InvalidScheme
Can be used to match a GException with the "InvalidScheme" code (808).
public static WebExtensionMatchPatternError InvalidScheme { get; }
Property Value
Unknown
Can be used to match a GException with the "Unknown" code (899).
public static WebExtensionMatchPatternError Unknown { get; }
Property Value
Operators
implicit operator ErrorCode(WebExtensionMatchPatternError)
Converts a WebExtensionMatchPatternError into a ErrorCode which can be used to match a GException.
public static implicit operator ErrorCode(WebExtensionMatchPatternError e)