Throw an exception to this using the given error name and message.
The created Exception can be retrieved with get_exception.
this |
a Context |
error_name |
the error name |
error_message |
an error message |