11 template <
typename... Args>
12 iexception(
const string &s, Args&&... args) { message_ = fmt::format(s, args...); }
Base exception class for all Itasca code.
Definition: baseexception.h:9
#define BASE_EXPORT
Definition: basedef.h:21
virtual BASE_EXPORT const char * what() const
Returns the contents of the error message as a const char.
Definition: baseexception.h:15
QString helper functions, plus some additions.
void setMessage(const string &s)
Allows the message carried by the exception to be replaced with a new one.
Definition: baseexception.h:18