|
fourdst::libcomposition v2.3.1
Robust atomic species information library
|
Base class for exceptions related to composition objects. More...
#include <exceptions_composition.h>
Public Member Functions | |
| CompositionError (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 15 of file exceptions_composition.h.
|
inlineexplicit |
Constructs a CompositionError with an error message.
| message | The error message. |
Definition at line 26 of file exceptions_composition.h.
|
inlinenodiscardoverridenoexcept |
Returns the error message.
Definition at line 33 of file exceptions_composition.h.
|
protected |
The error message.
Definition at line 20 of file exceptions_composition.h.