#include <ExceptionErrorDetail.h>

Inheritance diagram for ExceptionErrorDetail:
Collaboration diagram for ExceptionErrorDetail:

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

Definition at line 23 of file Detail.h.

Constructor & Destructor Documentation

◆ ExceptionErrorDetail()

ExceptionErrorDetail::ExceptionErrorDetail ( const SourceLocationId  id)
inlineexplicit

Definition at line 26 of file ExceptionErrorDetail.h.

Member Function Documentation

◆ brief()

SBuf ExceptionErrorDetail::brief ( ) const
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()

bool ErrorDetail::equals ( const ErrorDetail other) const
inlineinherited

Definition at line 44 of file Detail.h.

Referenced by Error::update().

◆ MEMPROXY_CLASS()

ExceptionErrorDetail::MEMPROXY_CLASS ( ExceptionErrorDetail  )
private

◆ verbose()

SBuf ExceptionErrorDetail::verbose ( const HttpRequestPointer ) const
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

SourceLocationId ExceptionErrorDetail::exceptionId
private

Definition at line 38 of file ExceptionErrorDetail.h.

Referenced by brief(), and verbose().


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

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors