Skip to content

JSError.ThrowError method (1 of 4)

C#
public void ThrowError()

See Also


JSError.ThrowError method (2 of 4)

Throws a JS error for a .NET exception.

C#
public static void ThrowError(Exception exception)

Remarks

Requires a current JSValueScope, but does NOT require a current JSRuntimeContext, so it can be safely used from "no-context" callbacks.

See Also


JSError.ThrowError method (3 of 4)

C#
public static void ThrowError(string message)

See Also


JSError.ThrowError method (4 of 4)

C#
public static void ThrowError(string code, string message)

See Also

Released under the MIT license