NeoFOAM
WIP Prototype of a modern OpenFOAM core
|
Custom exception class for NeoFOAM. More...
#include <error.hpp>
Public Member Functions | |
NeoFOAMException (const std::string &message) | |
Constructs a NeoFOAMException object with the given error message. | |
const char * | what () const noexcept override |
Returns the error message associated with the exception. | |
Custom exception class for NeoFOAM.
This class is derived from std::exception and provides a custom exception type for NeoFOAM. It stores an error message and overrides the what() function to return the error message.
|
inlineexplicit |
Constructs a NeoFOAMException object with the given error message.
message | The error message associated with the exception. |
|
inlineoverridenoexcept |