JsError

class JsError(val value: JsValue, val name: String, message: String, val scriptStack: List<JsStackFrame>, cause: Throwable?) : JsException(source)

A script threw. value is whatever it threw, which is usually an Error but need not be.

Constructors

Link copied to clipboard
constructor(value: JsValue, name: String, message: String, scriptStack: List<JsStackFrame>, cause: Throwable?)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
open val cause: Throwable?
Link copied to clipboard

The message on its own, without the error's name in front.

Link copied to clipboard
open val message: String?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard