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
error <<
"message " << someType <<
abort(error);
error <<
"message " << someType <<
exit(error, errNo);
Definition at line 52 of file errorManip.H.