Error stream manipulators for exit and abort which may terminate the program or throw an exception depending if the exception handling has been switched on (off by default).
More...
template<class Err>
class Foam::errorManip< Err >
Error stream manipulators for exit and abort which may terminate the program or throw an exception depending if the exception handling has been switched on (off by default).
- Usage
Class to handle errors and exceptions in a simple, consistent stream-based manner.
errorManip< error > abort(error &err)
errorManipArg< error, int > exit(error &err, const int errNo=1)
Definition at line 70 of file errorManip.H.
◆ errorManip()
◆ operator
The documentation for this class was generated from the following file: