throw

fun throw(errorMessage: String)

Throw an exception to @context using the given error message. The created #JSCException can be retrieved with jsc_context_get_exception().

Parameters

errorMessage

an error message