ErrorDetail Class Referenceabstract
interface for supplying additional information about a transaction failure More...
#include <Detail.h>
Inheritance diagram for ErrorDetail:
![Inheritance graph](classErrorDetail__inherit__graph.png)
Collaboration diagram for ErrorDetail:
![Collaboration graph](classErrorDetail__coll__graph.png)
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 Security::ErrorDetail, Ftp::ErrorDetail, SysErrorDetail, ExceptionErrorDetail, and NamedErrorDetail.
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 Security::ErrorDetail, Ftp::ErrorDetail, ExceptionErrorDetail, SysErrorDetail, and NamedErrorDetail.
Referenced by ErrorState::compileLegacyCode().
The documentation for this class was generated from the following file:
- src/error/Detail.h
Introduction
- About Squid
- Why Squid?
- Squid Developers
- How to Donate
- How to Help Out
- Getting Squid
- Squid Source Packages
- Squid Deployment Case-Studies
- Squid Software Foundation
Documentation
- Quick Setup
- Configuration:
- FAQ and Wiki
- Guide Books:
- Non-English
- More...
Support
- Security Advisories
- Bugzilla Database
- Mailing lists
- Contacting us
- Commercial services
- Project Sponsors
- Squid-based products