|
Squid Web Cache master
|
#include "error/Detail.h"#include "error/forward.h"#include "mem/PoolingAllocator.h"#include <iosfwd>#include <vector>Go to the source code of this file.
Classes | |
| class | Error |
| a transaction problem More... | |
Typedefs | |
| using | ErrorDetails = std::vector< ErrorDetailPointer, PoolingAllocator< ErrorDetailPointer > > |
| zero or more details of a single error | |
Functions | |
| std::ostream & | operator<< (std::ostream &, const ErrorDetails &) |
| err_type | errorTypeByName (const char *name) |
| const char * | errorTypeName (err_type err) |
| std::ostream & | operator<< (std::ostream &os, const Error &error) |
Variables | |
| const char * | err_type_str [] |
| using ErrorDetails = std::vector<ErrorDetailPointer, PoolingAllocator<ErrorDetailPointer> > |
|
inline |
Definition at line 67 of file Error.h.
References ERR_MAX, and err_type_str.
Referenced by ACLSquidErrorData::parse().
|
inline |
Definition at line 77 of file Error.h.
References ERR_MAX, and err_type_str.
Referenced by ACLSquidErrorData::dump(), ACLSquidErrorData::match(), operator<<(), ClientRequestContext::sslBumpAccessCheck(), and Error::update().
| std::ostream & operator<< | ( | std::ostream & | os, |
| const ErrorDetails & | details | ||
| ) |
prints all given details separated by '+'; if no details were given, prints nothing
Definition at line 69 of file Error.cc.
References AsList< Container >::delimitedBy().
| std::ostream & operator<< | ( | std::ostream & | os, |
| const Error & | error | ||
| ) |
Definition at line 76 of file Error.cc.
References error(), errorTypeName(), and AsList< Container >::prefixedBy().
|
extern |
Definition at line 16 of file stub_liberror.cc.
Referenced by ErrorState::buildBody(), errorInitialize(), errorPageId(), errorPageName(), errorTypeByName(), errorTypeName(), and ErrorPage::BuildErrorPrinter::printLocation().