fourdst::libcomposition v1.5.2
Robust atomic species information library
|
Base class for exceptions related to composition objects. More...
#include <exceptions_composition.h>
Public Member Functions | |
CompositionError (const std::string &message) | |
Constructs a CompositionError with an error message. | |
const char * | what () const noexcept override |
Returns the error message. | |
Protected Attributes | |
std::string | m_message |
The error message. | |
Base class for exceptions related to composition objects.
This exception is thrown when an error occurs at the composition level, such as invalid configuration or state.
Definition at line 14 of file exceptions_composition.h.
|
inlineexplicit |
Constructs a CompositionError with an error message.
message | The error message. |
Definition at line 25 of file exceptions_composition.h.
|
inlineoverridenoexcept |
Returns the error message.
Definition at line 32 of file exceptions_composition.h.
|
protected |
The error message.
Definition at line 19 of file exceptions_composition.h.