Returns true if error is set
| 111 | |
| 112 | // Returns true if error is set |
| 113 | inline bool ErrorCtx_EncounteredError(void) { |
| 114 | ErrorCtx *ctx = ErrorCtx_Get(); |
| 115 | ASSERT(ctx != NULL); |
| 116 | |
| 117 | return ctx->error != NULL; |
| 118 | } |
| 119 | |
| 120 | //------------------------------------------------------------------------------ |
| 121 | // Specific error scenarios |
no test coverage detected