1 #ifndef DNAI_EXECPTIONS_EXCEPTION_H
2 #define DNAI_EXECPTIONS_EXCEPTION_H
15 explicit Exception(
const std::string& _Message,
const std::string& from =
"")
16 : runtime_error(
"DNAI Exception " + (!from.empty() ?
"from (" + from +
") :" :
":") + _Message)
24 #endif //DNAI_EXECPTIONS_EXCEPTION_H
~Exception() override=default
Exception(const std::string &_Message, const std::string &from="")
Definition: exception.h:15
Base class for DNAI Exception.
Definition: exception.h:12