diff options
author | Kasper Isager Dalsgarð <kasperisager@hey.com> | 2024-05-08 23:19:15 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-08 23:19:15 +0200 |
commit | db9dbd0a2b6d115c9ef3c0dc37e0c669ef4844e4 (patch) | |
tree | 405926621928e00b54f38e8fec0ec69e54fab63e /quickjs.h | |
parent | 6c43013140987b3a1f0124c5bdb22a3e6068eb36 (diff) | |
download | quickjs-db9dbd0a2b6d115c9ef3c0dc37e0c669ef4844e4.tar.gz quickjs-db9dbd0a2b6d115c9ef3c0dc37e0c669ef4844e4.zip |
Add `JS_HasException()` (#265)
Diffstat (limited to 'quickjs.h')
-rw-r--r-- | quickjs.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -633,6 +633,7 @@ static inline JS_BOOL JS_IsObject(JSValueConst v) 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_ResetUncatchableError(JSContext *ctx); JSValue JS_NewError(JSContext *ctx); |