ErrorDetail Class Referenceabstract

interface for supplying additional information about a transaction failure More...

#include <Detail.h>

Inheritance diagram for ErrorDetail:
Collaboration diagram for ErrorDetail:

Public Types

using Pointer = ErrorDetailPointer
 

Public Member Functions

virtual ~ErrorDetail ()
 
virtual SBuf brief () const =0
 
virtual SBuf verbose (const HttpRequestPointer &) const =0
 

Detailed Description

Definition at line 20 of file Detail.h.

Member Typedef Documentation

◆ Pointer

Definition at line 23 of file Detail.h.

Constructor & Destructor Documentation

◆ ~ErrorDetail()

virtual ErrorDetail::~ErrorDetail ( )
inlinevirtual

Definition at line 25 of file Detail.h.

Member Function Documentation

◆ brief()

virtual SBuf ErrorDetail::brief ( ) const
pure virtual
Returns
a single "token" summarizing available details suitable as an access.log field and similar output processed by programs

Implemented in SysErrorDetail, ExceptionErrorDetail, NamedErrorDetail, Ftp::ErrorDetail, and Security::ErrorDetail.

Referenced by ErrorState::compileLegacyCode(), and operator<<().

◆ verbose()

virtual SBuf ErrorDetail::verbose ( const HttpRequestPointer ) const
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 SysErrorDetail, ExceptionErrorDetail, NamedErrorDetail, Ftp::ErrorDetail, and Security::ErrorDetail.

Referenced by ErrorState::compileLegacyCode().


The documentation for this class was generated from the following file:

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors