pretty-prints error page/deny_info building error More...
Public Member Functions | |
BuildErrorPrinter (const SBuf &anInputLocation, int aPage, const char *aMsg, const char *aNear) | |
std::ostream & | print (std::ostream &) const |
reports error details (for admin-visible exceptions and debugging) More... | |
std::ostream & | printLocation (std::ostream &os) const |
print() helper to report where the error was found More... | |
Public Attributes | |
const SBuf & | inputLocation |
const int | page_id |
const char * | msg |
const char * | near |
Detailed Description
Definition at line 114 of file errorpage.cc.
Constructor & Destructor Documentation
◆ BuildErrorPrinter()
|
inline |
Definition at line 117 of file errorpage.cc.
Member Function Documentation
◆ print()
std::ostream & ErrorPage::BuildErrorPrinter::print | ( | std::ostream & | os | ) | const |
Definition at line 1484 of file errorpage.cc.
References CurrentException().
Referenced by ErrorPage::operator<<().
◆ printLocation()
std::ostream & ErrorPage::BuildErrorPrinter::printLocation | ( | std::ostream & | os | ) | const |
Definition at line 1470 of file errorpage.cc.
References ERR_MAX, err_type_str, error_page_count, ErrorDynamicPages, inputLocation, SBuf::isEmpty(), and page_id.
Member Data Documentation
◆ inputLocation
const SBuf& ErrorPage::BuildErrorPrinter::inputLocation |
Definition at line 126 of file errorpage.cc.
Referenced by printLocation().
◆ msg
const char* ErrorPage::BuildErrorPrinter::msg |
Definition at line 128 of file errorpage.cc.
◆ near
const char* ErrorPage::BuildErrorPrinter::near |
Definition at line 129 of file errorpage.cc.
◆ page_id
const int ErrorPage::BuildErrorPrinter::page_id |
Definition at line 127 of file errorpage.cc.
Referenced by printLocation().
The documentation for this class was generated from the following file:
- src/errorpage.cc