name: duk_uri_error_va proto: | duk_ret_t duk_uri_error_va(duk_context *ctx, const char *fmt, va_list ap); stack: | [ ... ] -> [ ... err! ] summary: |

Convenience API call, equivalent to duk_error_va() with an error code DUK_ERR_URI_ERROR.

example: | void my_uri_error(duk_context *ctx, const char *fmt, ...) { va_list ap; va_start(ap, fmt); duk_uri_error_va(ctx, fmt, ap); va_end(ap); } tags: - error - vararg seealso: - duk_error_va introduced: 2.0.0