33 [[nodiscard]]
const char*
what() const noexcept
override{
67 [[nodiscard]]
const char*
what() const noexcept
override {
std::string m_message
The error message.
CompositionError(std::string message)
Constructs a CompositionError with an error message.
const char * what() const noexcept override
Returns the error message.
Exception thrown when a composition is in an invalid or inconsistent state.
CompositionError(std::string message)
Constructs a CompositionError with an error message.
SpeciesError(std::string message)
const char * what() const noexcept override
Exception thrown when an unknown symbol is encountered.
SpeciesError(std::string message)
Exception thrown when a symbol is used that has not been registered.
CompositionError(std::string message)
Constructs a CompositionError with an error message.