mirror of
https://github.com/bellard/quickjs.git
synced 2025-09-30 06:54:26 +03:00
Add JS_HasException()
(#265)
This commit is contained in:
committed by
GitHub
parent
6c43013140
commit
db9dbd0a2b
@@ -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);
|
||||
|
Reference in New Issue
Block a user