|
Squid Web Cache master
|
pretty-prints error page/deny_info building error More...
Public Member Functions | |
| BuildErrorPrinter (const SBuf &anInputLocation, int aPage, const char *aMsg, const char *anErrorLocation) | |
| std::ostream & | print (std::ostream &) const |
| reports error details (for admin-visible exceptions and debugging) | |
| std::ostream & | printLocation (std::ostream &os) const |
| print() helper to report where the error was found | |
Public Attributes | |
| const SBuf & | inputLocation |
| const int | page_id |
| const char * | msg |
| const char * | errorLocation |
Definition at line 116 of file errorpage.cc.
|
inline |
Definition at line 119 of file errorpage.cc.
| std::ostream & ErrorPage::BuildErrorPrinter::print | ( | std::ostream & | os | ) | const |
Definition at line 1514 of file errorpage.cc.
References CurrentException().
Referenced by ErrorPage::operator<<().
| std::ostream & ErrorPage::BuildErrorPrinter::printLocation | ( | std::ostream & | os | ) | const |
Definition at line 1500 of file errorpage.cc.
References SBuf::at(), ERR_MAX, err_type_str, error_page_count, ErrorDynamicPages, inputLocation, SBuf::isEmpty(), and page_id.
| const char* ErrorPage::BuildErrorPrinter::errorLocation |
Definition at line 136 of file errorpage.cc.
| const SBuf& ErrorPage::BuildErrorPrinter::inputLocation |
Definition at line 133 of file errorpage.cc.
Referenced by printLocation().
| const char* ErrorPage::BuildErrorPrinter::msg |
Definition at line 135 of file errorpage.cc.
| const int ErrorPage::BuildErrorPrinter::page_id |
Definition at line 134 of file errorpage.cc.
Referenced by printLocation().