

Go to the source code of this file.
Classes | |
| class | MsqError |
| Used to hold the error state and return it to the application. More... | |
| class | MsqError::Trace |
| One line of stack trace data. More... | |
| class | MsqError::Setter |
| class | MsqPrintError |
| Utility class for printing error data - used in Mesquite tests. More... | |
Namespaces | |
| Mesquite | |
| Used to hold the error state and return it to the application. | |
Macros | |
| #define | MSQ_FUNCTION "" |
| #define | MSQ_CHKERR(err) (err.error() && err.push(MSQ_FUNCTION,__FILE__,__LINE__)) |
| Mesquite's Error Checking macro. More... | |
| #define | MSQ_ERRRTN(err) if (MSQ_CHKERR(err)) return |
| If passed error is true, return from a void function. More... | |
| #define | MSQ_ERRZERO(err) if (MSQ_CHKERR(err)) return 0 |
| Return zero/NULL on error. More... | |
| #define | MSQ_SETERR(err) Mesquite::MsqError::setter(err, MSQ_FUNCTION,__FILE__,__LINE__).set |
| Macro to set error - use err.clear() to clear. More... | |
Functions | |
| msq_stdio::ostream & | operator<< (msq_stdio::ostream &, const MsqError &) |
| Print message and stack trace. More... | |
| msq_stdio::ostream & | operator<< (msq_stdio::ostream &, const MsqError::Trace &) |
| Print MsqError::Trace. More... | |