|
proxygen
|
#include <errno.h>#include <cstdio>#include <stdexcept>#include <system_error>#include <folly/Conv.h>#include <folly/FBString.h>#include <folly/Likely.h>#include <folly/Portability.h>Go to the source code of this file.
Namespaces | |
| folly | |
| —— Concurrent Priority Queue Implementation —— | |
Macros | |
| #define | CHECK_THROW(cond, E) |
Functions | |
| std::system_error | folly::makeSystemErrorExplicit (int err, const char *msg) |
| template<class... Args> | |
| std::system_error | folly::makeSystemErrorExplicit (int err, Args &&...args) |
| std::system_error | folly::makeSystemError (const char *msg) |
| template<class... Args> | |
| std::system_error | folly::makeSystemError (Args &&...args) |
| void | folly::throwSystemErrorExplicit (int err, const char *msg) |
| template<class... Args> | |
| void | folly::throwSystemErrorExplicit (int err, Args &&...args) |
| template<class... Args> | |
| void | folly::throwSystemError (Args &&...args) |
| template<class... Args> | |
| void | folly::checkPosixError (int err, Args &&...args) |
| template<class... Args> | |
| void | folly::checkKernelError (ssize_t ret, Args &&...args) |
| template<class... Args> | |
| void | folly::checkUnixError (ssize_t ret, Args &&...args) |
| template<class... Args> | |
| void | folly::checkUnixErrorExplicit (ssize_t ret, int savedErrno, Args &&...args) |
| template<class... Args> | |
| void | folly::checkFopenError (FILE *fp, Args &&...args) |
| template<class... Args> | |
| void | folly::checkFopenErrorExplicit (FILE *fp, int savedErrno, Args &&...args) |
| #define CHECK_THROW | ( | cond, | |
| E | |||
| ) |
If cond is not true, raise an exception of type E. E must have a ctor that works with const char* (a description of the failure).
Definition at line 135 of file Exception.h.
Referenced by folly::SingletonVault::addEagerInitSingleton(), and folly::SingletonVault::registerSingleton().