Classes | |
class | ErrorPageFile |
Macros | |
#define | CVT_BUF_SZ 512 |
Functions | |
static err_type & | operator++ (err_type &anErr) |
static int | operator- (err_type const &anErr, err_type const &anErr2) |
static const char * | errorFindHardText (err_type type) |
static int | errorPageId (const char *page_name) |
const char * | errorPageName (int pageId) |
error ID to string More... | |
Variables | |
static std::vector< ErrorDynamicPageInfo * > | ErrorDynamicPages |
static char ** | error_text = nullptr |
static int | error_page_count = 0 |
static MemBuf | error_stylesheet |
static cbdata_type | ErrorState::CBDATA_ErrorState = CBDATA_UNKNOWN |
Detailed Description
Abstract:
These routines are used to generate error messages to be sent to clients. The error type is used to select between the various message formats. (formats are stored in the Config.errorDirectory)
Macro Definition Documentation
◆ CVT_BUF_SZ
#define CVT_BUF_SZ 512 |
Definition at line 873 of file errorpage.cc.
Function Documentation
◆ errorFindHardText()
|
static |
Definition at line 341 of file errorpage.cc.
References HardCodedErrors.
Referenced by errorInitialize().
◆ errorPageId()
|
static |
Definition at line 631 of file errorpage.cc.
References ERR_MAX, ERR_NONE, err_type_str, and ErrorDynamicPages.
Referenced by errorReservePageId().
◆ errorPageName()
const char * errorPageName | ( | int | pageId | ) |
Definition at line 662 of file errorpage.cc.
References ERR_MAX, ERR_NONE, err_type_str, and ErrorDynamicPages.
Referenced by Format::Format::assemble(), ErrorState::BuildHttpReply(), ErrorState::compileLegacyCode(), ErrorState::Dump(), operator<<(), and Ftp::Server::writeErrorReply().
◆ operator++()
Definition at line 229 of file errorpage.cc.
References int.
◆ operator-()
Definition at line 238 of file errorpage.cc.
References int.
Variable Documentation
◆ CBDATA_ErrorState
|
staticprivate |
Definition at line 90 of file errorpage.h.
◆ error_page_count
|
static |
Definition at line 202 of file errorpage.cc.
Referenced by ErrorState::buildBody(), errorClean(), errorInitialize(), ErrorPage::IsDenyInfoUri(), ErrorPage::BuildErrorPrinter::printLocation(), and ErrorState::validate().
◆ error_stylesheet
|
static |
Definition at line 205 of file errorpage.cc.
Referenced by ErrorState::compileLegacyCode().
◆ error_text
|
static |
Definition at line 199 of file errorpage.cc.
Referenced by ErrorState::buildBody(), errorClean(), errorInitialize(), ErrorPage::ImportStaticErrorText(), and ErrorState::validate().
◆ ErrorDynamicPages
|
static |
Definition at line 194 of file errorpage.cc.
Referenced by ErrorState::ErrorState(), errorClean(), errorInitialize(), errorPageId(), errorPageName(), errorReservePageId(), ErrorPage::IsDenyInfoUri(), and ErrorPage::BuildErrorPrinter::printLocation().