blob: 7df24de85e983051a676c1367f2bffaee440f896 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
/*
* 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 */
|