Go to the documentation of this file.
17 static const char* stars =
"***********************************************************************\n";
51 return fmt::format(
"Array size ({}) too small. Must be at least {}.",
57 return fmt::format(
"IndexError: {}[{}] outside valid range of 0 to {}.",
58 arrayName_, m_, mmax_);
virtual std::string getClass() const
Method overridden by derived classes to indicate their type.
const char * what() const
Get a description of the error.
std::string msg_
Message associated with the exception.
virtual std::string getMessage() const
Method overridden by derived classes to format the error message.
virtual std::string getMessage() const
Method overridden by derived classes to format the error message.
virtual std::string getMessage() const
Method overridden by derived classes to format the error message.
std::string procedure_
The name of the procedure where the exception occurred.
CanteraError()
Protected default constructor discourages throwing errors containing no information.
Namespace for the Cantera kernel.
std::string formattedMessage_
Formatted message returned by what()