interface for supplying additional information about a transaction failure More...
#include <Detail.h>
Public Types | |
using | Pointer = ErrorDetailPointer |
Public Member Functions | |
~ErrorDetail () override | |
virtual SBuf | brief () const =0 |
virtual SBuf | verbose (const HttpRequestPointer &) const =0 |
bool | equals (const ErrorDetail &other) const |
Detailed Description
Member Typedef Documentation
◆ Pointer
Constructor & Destructor Documentation
◆ ~ErrorDetail()
Member Function Documentation
◆ brief()
|
pure virtual |
- Returns
- a single "token" summarizing available details suitable as an access.log field and similar output processed by programs
Implemented in Ftp::ErrorDetail, NamedErrorDetail, ExceptionErrorDetail, SysErrorDetail, and Security::ErrorDetail.
Referenced by ErrorState::compileLegacyCode(), and operator<<().
◆ equals()
|
inline |
Definition at line 44 of file Detail.h.
Referenced by Error::update().
◆ verbose()
|
pure virtual |
- Returns
- all available details; may be customized for the given request suitable for error pages and other output meant for human consumption
Implemented in Ftp::ErrorDetail, NamedErrorDetail, ExceptionErrorDetail, SysErrorDetail, and Security::ErrorDetail.
Referenced by ErrorState::compileLegacyCode().
The documentation for this class was generated from the following file:
- src/error/Detail.h