Context.throwWithName

Throw an exception to context using the given error name and message. The created #JSCException can be retrieved with javascriptcore.context.Context.getException.

class Context
void
throwWithName
(
string errorName
,)

Parameters

errorName string

the error name

errorMessage string

an error message