18#ifndef INCLUDED_SCRIPTEXCEPTIONS
19#define INCLUDED_SCRIPTEXCEPTIONS
Spidermonkey maintains some 'local' state via the JSContext* object.
Definition: ScriptRequest.h:60
Definition: ScriptExceptions.h:26
void Raise(const ScriptRequest &rq, const char *format,...)
Raise a JS exception from C++ code.
Definition: ScriptExceptions.cpp:95
bool IsPending(const ScriptRequest &rq)
Definition: ScriptExceptions.cpp:28
bool CatchPending(const ScriptRequest &rq)
Log and then clear the current pending exception.
Definition: ScriptExceptions.cpp:33