#include <ExceptionErrorDetail.h>
Public Types | |
using | Pointer = ErrorDetailPointer |
Public Member Functions | |
ExceptionErrorDetail (const SourceLocationId id) | |
SBuf | brief () const override |
SBuf | verbose (const HttpRequestPointer &) const override |
bool | equals (const ErrorDetail &other) const |
Private Member Functions | |
MEMPROXY_CLASS (ExceptionErrorDetail) | |
Private Attributes | |
SourceLocationId | exceptionId |
identifies the thrower or catcher More... | |
Detailed Description
Details a failure reported via a C++ exception. Stores exception ID which scripts/calc-must-ids.sh can map to a relevant source code location.
Definition at line 21 of file ExceptionErrorDetail.h.
Member Typedef Documentation
◆ Pointer
|
inherited |
Constructor & Destructor Documentation
◆ ExceptionErrorDetail()
|
inlineexplicit |
Definition at line 26 of file ExceptionErrorDetail.h.
Member Function Documentation
◆ brief()
|
inlineoverridevirtual |
- Returns
- a single "token" summarizing available details suitable as an access.log field and similar output processed by programs
Implements ErrorDetail.
Definition at line 29 of file ExceptionErrorDetail.h.
References exceptionId, and ToSBuf().
◆ equals()
|
inlineinherited |
Definition at line 44 of file Detail.h.
Referenced by Error::update().
◆ MEMPROXY_CLASS()
|
private |
◆ verbose()
|
inlineoverridevirtual |
- Returns
- all available details; may be customized for the given request suitable for error pages and other output meant for human consumption
Implements ErrorDetail.
Definition at line 33 of file ExceptionErrorDetail.h.
References exceptionId, and ToSBuf().
Member Data Documentation
◆ exceptionId
|
private |
Definition at line 38 of file ExceptionErrorDetail.h.
The documentation for this class was generated from the following file:
- src/error/ExceptionErrorDetail.h