Context.throwWithName

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

class Context
void
throwWithName
(
string errorName
,)

Parameters

errorName string

the error name

errorMessage string

an error message

Meta