a transaction problem
More...
#include <Error.h>
Definition at line 27 of file Error.h.
◆ Error() [1/3]
◆ Error() [2/3]
◆ Error() [3/3]
◆ clear()
◆ operator bool()
| Error::operator bool |
( |
| ) |
const |
|
inlineexplicit |
◆ update() [1/4]
| void Error::update |
( |
const Error & |
recent | ) |
|
Definition at line 51 of file Error.cc.
References category, details, and update().
Referenced by Error(), ErrorState::BuildHttpReply(), HttpRequest::detailError(), ConnStateData::serveDelayedError(), ConnStateData::terminateAll(), update(), update(), AccessLogEntry::updateError(), ConnStateData::updateError(), and ClientHttpRequest::updateError().
◆ update() [2/4]
records an additional error detail (if any), leaving category unchanged more convenient and faster alternative to calling update(Error(ERR_NONE, d))
- Parameters
-
| detail | either nil or a pointer to a new or an already known detail |
Definition at line 35 of file Error.cc.
References debugs, details, and ErrorDetail::equals().
◆ update() [3/4]
| void Error::update |
( |
err_type |
recentCategory | ) |
|
if necessary, stores the given error category (if any), leaving details unchanged; the first non-ERR_NONE category wins; more convenient alternative to calling update(Error(c))
Definition at line 17 of file Error.cc.
References category, debugs, ERR_NONE, and errorTypeName().
◆ update() [4/4]
if necessary, stores the given error information (if any); more convenient and faster alternative to calling update(Error(c, d))
Definition at line 61 of file Error.cc.
References update().
◆ category
◆ details
The documentation for this class was generated from the following files: