blob: 7df24de85e983051a676c1367f2bffaee440f896 [file] [log] [blame]
/*
* Exception for Duktape internal throws when C++ exceptions are used
* for long control transfers.
*
* Doesn't inherit from any exception base class to minimize the chance
* that user code would accidentally catch this exception.
*/
#ifndef DUK_EXCEPTION_H_INCLUDED
#define DUK_EXCEPTION_H_INCLUDED
#if defined(DUK_USE_CPP_EXCEPTIONS)
class duk_internal_exception {
/* intentionally empty */
};
#endif
#endif /* DUK_EXCEPTION_H_INCLUDED */