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