Exception Struct Reference
Provides a convenient way to initialized an exception with helpful error messages. More...
#include <Exception.hpp>
Collaboration diagram for Exception:
Public Attributes | |
std::stringstream | error |
The error message to be displayed when the exception is raised. | |
std::stringstream | reason |
The reason message to be displayed when the exception is raised. | |
Detailed Description
Provides a convenient way to initialized an exception with helpful error messages.
Usage Below we demonstrate a convenient way to raise an exception using an Exception instance and the raise macro.
- See also
- raise
The documentation for this struct was generated from the following file:
- Reaktoro/Common/Exception.hpp
std::stringstream reason
The reason message to be displayed when the exception is raised.
Definition: Exception.hpp:46
The namespace containing all components of the Reaktoro library.
Definition: ChemicalScalar.hpp:24
std::stringstream error
The error message to be displayed when the exception is raised.
Definition: Exception.hpp:43
Provides a convenient way to initialized an exception with helpful error messages.
Definition: Exception.hpp:41