Expose JS_SetUncatchableError() (#262)

* Expose `JS_SetUncatchableError()`

* Remove unnecessary `JS_SetUncatchableError` declaration
This commit is contained in:
Kasper Isager Dalsgarð
2024-05-09 12:45:47 +02:00
committed by GitHub
parent d53aafe0f3
commit 6f9d05fd2b
2 changed files with 1 additions and 1 deletions

View File

@@ -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, ...);