Table of Contents

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

errorCode int

A 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

Quark

InvalidHost

Can be used to match a GException with the "InvalidHost" code (809).

public static WebExtensionMatchPatternError InvalidHost { get; }

Property Value

WebExtensionMatchPatternError

InvalidPath

Can be used to match a GException with the "InvalidPath" code (810).

public static WebExtensionMatchPatternError InvalidPath { get; }

Property Value

WebExtensionMatchPatternError

InvalidScheme

Can be used to match a GException with the "InvalidScheme" code (808).

public static WebExtensionMatchPatternError InvalidScheme { get; }

Property Value

WebExtensionMatchPatternError

Unknown

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

public static WebExtensionMatchPatternError Unknown { get; }

Property Value

WebExtensionMatchPatternError

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)

Parameters

e WebExtensionMatchPatternError

Returns

ErrorCode