#include "error/Detail.h"
#include "error/forward.h"
#include "mem/PoolingAllocator.h"
#include <iosfwd>
#include <vector>
![](Error_8h__incl.png)
![](Error_8h__dep__incl.png)
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 More... | |
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 [] |
Typedef Documentation
◆ ErrorDetails
Function Documentation
◆ errorTypeByName()
|
inline |
Definition at line 67 of file Error.h.
References ERR_MAX, and err_type_str.
Referenced by ACLSquidErrorData::parse().
◆ errorTypeName()
|
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().
◆ operator<<() [1/2]
std::ostream& operator<< | ( | std::ostream & | , |
const ErrorDetails & | |||
) |
prints all given details separated by '+'; if no details were given, prints nothing
Definition at line 70 of file Error.cc.
References AsList< Container >::delimitedBy().
◆ operator<<() [2/2]
std::ostream& operator<< | ( | std::ostream & | os, |
const Error & | error | ||
) |
Definition at line 77 of file Error.cc.
References error(), errorTypeName(), and AsList< Container >::prefixedBy().
Variable Documentation
◆ err_type_str
const char* err_type_str[] |
Definition at line 16 of file stub_liberror.cc.
Referenced by ErrorState::buildBody(), errorInitialize(), errorPageId(), errorPageName(), errorTypeByName(), errorTypeName(), and ErrorPage::BuildErrorPrinter::printLocation().
Introduction
- About Squid
- Why Squid?
- Squid Developers
- How to Donate
- How to Help Out
- Getting Squid
- Squid Source Packages
- Squid Deployment Case-Studies
- Squid Software Foundation
Documentation
- Quick Setup
- Configuration:
- FAQ and Wiki
- Guide Books:
- Non-English
- More...
Support
- Security Advisories
- Bugzilla Database
- Mailing lists
- Contacting us
- Commercial services
- Project Sponsors
- Squid-based products