| 40 | }; |
| 41 | |
| 42 | class CoreAnalyzerError : public std::exception |
| 43 | { |
| 44 | public: |
| 45 | explicit CoreAnalyzerError(std::string error) |
| 46 | : d_error(std::move(error)){}; |
| 47 | |
| 48 | [[nodiscard]] const char* what() const noexcept override |
| 49 | { |
| 50 | return d_error.c_str(); |
| 51 | } |
| 52 | |
| 53 | private: |
| 54 | std::string d_error; |
| 55 | }; |
| 56 | |
| 57 | // This is a struct so cython can convert easily from this |
| 58 | struct CoreVirtualMap |