summaryrefslogtreecommitdiff
path: root/quickjs.h
diff options
context:
space:
mode:
Diffstat (limited to 'quickjs.h')
-rw-r--r--quickjs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/quickjs.h b/quickjs.h
index 8e93887..a3348a5 100644
--- a/quickjs.h
+++ b/quickjs.h
@@ -635,6 +635,7 @@ JSValue JS_Throw(JSContext *ctx, JSValue obj);
JSValue JS_GetException(JSContext *ctx);
JS_BOOL JS_HasException(JSContext *ctx);
JS_BOOL JS_IsError(JSContext *ctx, JSValueConst val);
+void JS_SetUncatchableError(JSContext *ctx, JSValueConst val, JS_BOOL flag);
void JS_ResetUncatchableError(JSContext *ctx);
JSValue JS_NewError(JSContext *ctx);
JSValue __js_printf_like(2, 3) JS_ThrowSyntaxError(JSContext *ctx, const char *fmt, ...);