Classes | |
class | Build |
state and parameters shared by several ErrorState::compile*() methods More... | |
class | BuildErrorPrinter |
pretty-prints error page/deny_info building error More... | |
Functions | |
static std::ostream & | operator<< (std::ostream &os, const BuildErrorPrinter &context) |
static const char * | IsDenyInfoUri (const int page_id) |
static void | ImportStaticErrorText (const int page_id, const char *text, const SBuf &inputLocation) |
add error page template to the global index More... | |
static void | ValidateStaticError (const int page_id, const SBuf &inputLocation) |
validate static error page More... | |
Function Documentation
◆ ImportStaticErrorText()
|
static |
Definition at line 1507 of file errorpage.cc.
References assert, error_text, text, ValidateStaticError(), and xstrdup.
Referenced by errorInitialize().
◆ IsDenyInfoUri()
|
static |
- Returns
- deny_info URL if the given page is a deny_info page with a URL
- nullptr otherwise
Definition at line 246 of file errorpage.cc.
References ERR_MAX, error_page_count, and ErrorDynamicPages.
Referenced by ErrorState::BuildHttpReply(), and ErrorState::validate().
◆ operator<<()
|
inlinestatic |
Definition at line 132 of file errorpage.cc.
References ErrorPage::BuildErrorPrinter::print().
◆ ValidateStaticError()
Definition at line 1516 of file errorpage.cc.
References ErrorState::inputLocation, Http::scNone, and ErrorState::validate().
Referenced by ImportStaticErrorText().