WPEJavaScriptCore.Context.throw_with_name

### Method

# WPEJavaScriptCore Contextthrow_with_name

#### Declaration [src]

    void
    jsc_context_throw_with_name (
      JSCContext* context,
      const char* error_name,
      const char* error_message
    )

#### Description [src]

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

#### Parameters

`error_name` | `const char*`
| The error name.
| The data is owned by the caller of the function.
| The value is a NUL terminated UTF-8 string.
`error_message` | `const char*`
| An error message.
| The data is owned by the caller of the function.
| The value is a NUL terminated UTF-8 string.