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
errorCodeintA 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
InvalidParameter
Can be used to match a GException with the "InvalidParameter" code (600).
public static JavascriptError InvalidParameter { get; }
Property Value
InvalidResult
Can be used to match a GException with the "InvalidResult" code (601).
public static JavascriptError InvalidResult { get; }
Property Value
ScriptFailed
Can be used to match a GException with the "ScriptFailed" code (699).
public static JavascriptError ScriptFailed { get; }
Property Value
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)