`flag` is too cryptic and should have been called something like `is_uncatchable`, or have been left out and been replaced with: ```c JS_EXTERN void JS_SetUncatchableError(JSContext *ctx, JSValue val); JS_EXTERN void JS_ClearUncatchableError(JSContext *ctx, JSValue val); ``` _Originally posted by @bnoordhuis in https://github.com/quickjs-ng/quickjs/pull/824#discussion_r1915570437_