* @ingroup base */
| 31 | * @ingroup base |
| 32 | */ |
| 33 | class ScriptError : virtual public user_error |
| 34 | { |
| 35 | public: |
| 36 | ScriptError(String message); |
| 37 | ScriptError(String message, DebugInfo di, bool incompleteExpr = false); |
| 38 | |
| 39 | const char* what() const noexcept override final; |
| 40 | |
| 41 | DebugInfo GetDebugInfo() const; |
| 42 | bool IsIncompleteExpression() const; |
| 43 | |
| 44 | bool IsHandledByDebugger() const; |
| 45 | void SetHandledByDebugger(bool handled); |
| 46 | |
| 47 | private: |
| 48 | String m_Message; |
| 49 | DebugInfo m_DebugInfo; |
| 50 | bool m_IncompleteExpr; |
| 51 | bool m_HandledByDebugger; |
| 52 | }; |
| 53 | |
| 54 | /* |
| 55 | * @ingroup base |
no outgoing calls
no test coverage detected