stub_liberror.cc
Go to the documentation of this file.
1/*
2 * Copyright (C) 1996-2023 The Squid Software Foundation and contributors
3 *
4 * Squid software is distributed under GPLv2+ license and includes
5 * contributions from numerous individuals and organizations.
6 * Please see the COPYING and CONTRIBUTORS files for details.
7 */
8
9#include "squid.h"
10#include "error/Error.h"
11#include "sbuf/SBuf.h"
12
13#define STUB_API "error/liberror.la"
14#include "tests/STUB.h"
15
16const char * err_type_str[ERR_MAX] = {};
17
20void Error::update(const Error &) STUB_NOP
22
23std::ostream &operator <<(std::ostream &os, const Error &) STUB_RETVAL(os)
24std::ostream &operator <<(std::ostream &os, const ErrorDetail::Pointer &) STUB_RETVAL(os)
25std::ostream &operator <<(std::ostream &os, const ErrorDetails &) STUB_RETVAL(os)
26
28
29#include "error/SysErrorDetail.h"
31SBuf SysErrorDetail::brief() const STUB_RETVAL(SBuf())
33std::ostream &operator <<(std::ostream &os, ReportSysError) STUB_RETVAL(os)
34
ErrorDetail::Pointer MakeNamedErrorDetail(const char *name)
Definition: Detail.cc:54
std::vector< ErrorDetailPointer, PoolingAllocator< ErrorDetailPointer > > ErrorDetails
zero or more details of a single error
Definition: Error.h:20
#define STUB_NOP
Definition: STUB.h:37
#define STUB_RETVAL(x)
Definition: STUB.h:41
a transaction problem
Definition: Error.h:27
void update(const Error &)
if necessary, stores the given error information (if any)
Definition: Error.cc:51
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_type
Definition: forward.h:14
@ ERR_MAX
Definition: forward.h:88
int verbose
Definition: find_password.c:26
std::ostream & operator<<(std::ostream &o, const Answer a)
Definition: Acl.h:177
STL namespace.
const char * err_type_str[ERR_MAX]

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors