void JS_RestoreExceptionState(JSContext *cx, JSExceptionState *state);
||Pointer to a JS context from which to derive runtime information. Requires request. In a
||Pointer to the
If any exception was pending when
JS_SaveExceptionState was called, the same exception will be set to pend for the current context. If no exceptions were pending when calling
JS_SaveExceptionState, any pending exception for the context will likewise be cleared.