35 const char*
what() const noexcept
override {
return m_msg.c_str(); }
Exception(std::string msg)
Straightforward constructor.
const char * what() const noexceptoverride
Return the message.
Basic exception class: needed to prevent clang-tidy warning "thrown exception type is not nothrow cop...
~Exception() noexceptoverride=default
Default constructor.
Namespace for the simulator and related classes.