Context.throw_

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

class Context
void
throw_
()

Parameters

errorMessage string

an error message