Pyrogenesis
trunk
|
An error returned by an operating system or a language runtime, for example a file opening error. More...
#include <format.h>
Public Member Functions | |
SystemError (int error_code, StringRef message) | |
Constructs a :cpp:class:fmt::SystemError object with the description of the form "*<message>*: *<system-message>*", where *<message>* is the formatted message and *<system-message>* is the system message corresponding to the error code. More... | |
int | error_code () const |
Protected Types | |
typedef char | Char |
Protected Member Functions | |
SystemError () | |
Protected Member Functions inherited from fmt::internal::RuntimeError | |
RuntimeError () | |
Protected Attributes | |
int | error_code_ |
Private Member Functions | |
void | init (int error_code, StringRef format_str, const ArgList &args) |
An error returned by an operating system or a language runtime, for example a file opening error.
|
protected |
|
inlineprotected |
|
inline |
Constructs a :cpp:class:fmt::SystemError
object with the description of the form "*<message>*: *<system-message>*", where *<message>* is the formatted message and *<system-message>* is the system message corresponding to the error code.
error_code* is a system error code as given by errno
.
|
inline |
|
protected |