Table of Contents

Struct JavascriptError

Namespace
WebKit
Assembly
WebKit-6.0.dll

Contains all error codes of the JavascriptError error-domain.

public readonly ref struct JavascriptError
Inherited Members

Constructors

JavascriptError(int)

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

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

public static Quark Any { get; }

Property Value

Quark

InvalidParameter

Can be used to match a GException with the "InvalidParameter" code (600).

public static JavascriptError InvalidParameter { get; }

Property Value

JavascriptError

InvalidResult

Can be used to match a GException with the "InvalidResult" code (601).

public static JavascriptError InvalidResult { get; }

Property Value

JavascriptError

ScriptFailed

Can be used to match a GException with the "ScriptFailed" code (699).

public static JavascriptError ScriptFailed { get; }

Property Value

JavascriptError

Operators

implicit operator ErrorCode(JavascriptError)

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

public static implicit operator ErrorCode(JavascriptError e)

Parameters

e JavascriptError

Returns

ErrorCode