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...
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 <<
"message1" <<
"message2" << FoamDataType <<
exit(error, errNo);
error <<
"message1" <<
"message2" << FoamDataType <<
abort(error);
Definition at line 50 of file errorManip.H.