See The TfError Error Posting System for a detailed description. More...
Classes | |
class | TfDiagnosticBase |
Represents the base class of an object representing a diagnostic message. More... | |
class | TfErrorMark |
Class used to record the end of the error-list. More... | |
Macros | |
#define | TF_HAS_ERRORS(marker, expr) |
Convenience macro to check if errors occurred. More... | |
#define | TF_BAD_SIZE_T SIZE_MAX |
This value may be used by functions that return a size_t to indicate that a special or error condition has occurred. More... | |
Functions | |
TF_API void | TfReportActiveErrorMarks () |
Report current TfErrorMark instances and the stack traces that created them to stdout for debugging purposes. More... | |
See The TfError Error Posting System for a detailed description.
#define TF_BAD_SIZE_T SIZE_MAX |
#define TF_HAS_ERRORS | ( | marker, | |
expr | |||
) |
Convenience macro to check if errors occurred.
This macro is equivalent to
which enables it to be used as an expression:
Definition at line 203 of file errorMark.h.
TF_API void TfReportActiveErrorMarks | ( | ) |
Report current TfErrorMark instances and the stack traces that created them to stdout for debugging purposes.
To call this function, set _enableTfErrorMarkStackTraces in errorMark.cpp and enable the TF_ERROR_MARK_TRACKING TfDebug code.