JavaScriptCore.Exception.new_with_name_vprintf
Description: Reference for JavaScriptCore.Exception.new_with_name_vprintf

### Constructor

# JavaScriptCore Exceptionnew_with_name_vprintf

#### Declaration [src]

    JSCException*
    jsc_exception_new_with_name_vprintf (
      JSCContext* context,
      const char* name,
      const char* format,
      va_list args
    )

#### Description [src]

Create a new `JSCException` in `context` with `name` and using a formatted string for the message. This is similar to `jsc_exception_new_with_name_printf()` except that the arguments to the format string are passed as a va_list.

This constructor is not directly available to language bindings.

#### Parameters

`context`

  Type: `JSCContext`

  A `JSCContext`.

  The data is owned by the caller of the function.

`name`

  Type: `const char*`

  The error name.

  The data is owned by the caller of the function.
  The value is a NUL terminated UTF-8 string.

`format`

  Type: `const char*`

  The string format.

  The data is owned by the caller of the function.
  The value is a NUL terminated UTF-8 string.

`args`

  Type: `va_list`

  The parameters to insert into the format string.

#### Return value

Type: `JSCException`

A new `JSCException`.

The caller of the function takes ownership of the data, and is responsible for freeing it.