| 20 | namespace ValdiQuickJS { |
| 21 | |
| 22 | static JSValue onJsCallError(JSContext* context, Valdi::JSExceptionTracker& exceptionTracker) { |
| 23 | auto exception = exceptionTracker.getExceptionAndClear(); |
| 24 | return JS_Throw(context, JS_DupValue(context, fromValdiJSValue(exception.get()))); |
| 25 | } |
| 26 | |
| 27 | JSValue jsCall( |
| 28 | JSContext* context, JSValueConst funcObject, JSValueConst thisValue, int argc, JSValueConst* argv, int /*flags*/) { |
no test coverage detected