Error

@Serializable
@SerialName(value = "error")
data class Error(val stacktrace: String) : JSValue

JavaScript evaluation threw an exception.

stacktrace is the JavaScript stack trace when the runtime exposes one.

Constructors

Link copied to clipboard
constructor(stacktrace: String)

Properties

Link copied to clipboard

Returns true when this value is JavaScript undefined or null.

Link copied to clipboard

Functions

Link copied to clipboard

Returns this value as a JavaScript boolean primitive.

Link copied to clipboard

Returns this value as a JavaScript boolean primitive, or null when it is not one.

Link copied to clipboard

Returns this value as a JavaScript number primitive.

Link copied to clipboard

Returns this value as a JavaScript number primitive, or null when it is not one.

Link copied to clipboard

Returns this value as a JavaScript string primitive.

Link copied to clipboard

Returns this value as a JavaScript string primitive, or null when it is not one.