stub_liberror.cc
Go to the documentation of this file.
1#include "squid.h"
2#include "error/Error.h"
3#include "sbuf/SBuf.h"
4
5#define STUB_API "error/liberror.la"
6#include "tests/STUB.h"
7
8const char * err_type_str[ERR_MAX] = {};
9
10void Error::update(const Error &) STUB_NOP
11
12std::ostream &operator <<(std::ostream &os, const Error &) STUB_RETVAL(os)
13std::ostream &operator <<(std::ostream &os, const ErrorDetail::Pointer &) STUB_RETVAL(os)
14
16
17#include "error/SysErrorDetail.h"
19SBuf SysErrorDetail::brief() const STUB_RETVAL(SBuf())
21std::ostream &operator <<(std::ostream &os, ReportSysError) STUB_RETVAL(os)
22
ErrorDetail::Pointer MakeNamedErrorDetail(const char *name)
Definition: Detail.cc:54
#define STUB_NOP
Definition: STUB.h:37
#define STUB_RETVAL(x)
Definition: STUB.h:41
std::ostream & operator<<(std::ostream &o, const Acl::Answer a)
Definition: Acl.h:173
a transaction problem
Definition: Error.h:18
void update(const Error &)
if necessary, stores the given error information (if any)
Definition: Error.cc:16
a stream manipulator for printing a system call error (if any)
Definition: SBuf.h:94
system call failure detail based on standard errno(3)/strerror(3) APIs
static SBuf Brief(int errorNo)
@ ERR_MAX
Definition: forward.h:88
int verbose
Definition: find_password.c:26
STL namespace.
const char * err_type_str[ERR_MAX]
Definition: stub_liberror.cc:8

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors