#include "util/StringUtil.hxx"
#include "Compiler.h"
#include <system_error>
#include <utility>
#include <stdio.h>
#include <errno.h>
#include <string.h>
Go to the source code of this file.
|
template<typename... Args> |
static std::system_error | FormatSystemError (std::error_code code, const char *fmt, Args &&... args) |
|
static const std::error_category & | ErrnoCategory () |
| Returns the error_category to be used to wrap errno values. More...
|
|
static std::system_error | MakeErrno (int code, const char *msg) |
|
static std::system_error | MakeErrno (const char *msg) |
|
template<typename... Args> |
static std::system_error | FormatErrno (int code, const char *fmt, Args &&... args) |
|
template<typename... Args> |
static std::system_error | FormatErrno (const char *fmt, Args &&... args) |
|
static gcc_pure bool | IsFileNotFound (const std::system_error &e) noexcept |
|
static gcc_pure bool | IsPathNotFound (const std::system_error &e) noexcept |
|
static gcc_pure bool | IsAccessDenied (const std::system_error &e) noexcept |
|
◆ ErrnoCategory()
static const std::error_category& ErrnoCategory |
( |
| ) |
|
|
inlinestatic |
◆ FormatErrno() [1/2]
template<typename... Args>
static std::system_error FormatErrno |
( |
int |
code, |
|
|
const char * |
fmt, |
|
|
Args &&... |
args |
|
) |
| |
|
inlinestatic |
◆ FormatErrno() [2/2]
template<typename... Args>
static std::system_error FormatErrno |
( |
const char * |
fmt, |
|
|
Args &&... |
args |
|
) |
| |
|
inlinestatic |
◆ FormatSystemError()
template<typename... Args>
static std::system_error FormatSystemError |
( |
std::error_code |
code, |
|
|
const char * |
fmt, |
|
|
Args &&... |
args |
|
) |
| |
|
inlinestatic |
◆ IsAccessDenied()
static gcc_pure bool IsAccessDenied |
( |
const std::system_error & |
e | ) |
|
|
inlinestaticnoexcept |
◆ IsFileNotFound()
static gcc_pure bool IsFileNotFound |
( |
const std::system_error & |
e | ) |
|
|
inlinestaticnoexcept |
◆ IsPathNotFound()
static gcc_pure bool IsPathNotFound |
( |
const std::system_error & |
e | ) |
|
|
inlinestaticnoexcept |
◆ MakeErrno() [1/2]
static std::system_error MakeErrno |
( |
int |
code, |
|
|
const char * |
msg |
|
) |
| |
|
inlinestatic |
◆ MakeErrno() [2/2]
static std::system_error MakeErrno |
( |
const char * |
msg | ) |
|
|
inlinestatic |