Context.throwWithName
void throwWithName(string errorName, string errorMessage)Throw an exception to context using the given error name and message. The created #JSCException can be retrieved with [javascriptcore.context.Context.getException].
Parameters
errorName | the error name |
errorMessage | an error message |