| 27 | namespace BinaryNinja |
| 28 | { |
| 29 | struct ExceptionWithStackTrace : std::exception |
| 30 | { |
| 31 | std::string m_originalMessage; |
| 32 | std::string m_message; |
| 33 | std::string m_stackTrace; |
| 34 | ExceptionWithStackTrace(const std::string& message); |
| 35 | ExceptionWithStackTrace(std::exception_ptr exc1, std::exception_ptr exc2); |
| 36 | const char* what() const noexcept override |
| 37 | { |
| 38 | return m_message.c_str(); |
| 39 | } |
| 40 | }; |
| 41 | } |
| 42 | #endif |
| 43 |
no outgoing calls
no test coverage detected