Pyrogenesis  trunk
Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | Private Member Functions | List of all members
fmt::SystemError Class Reference

An error returned by an operating system or a language runtime, for example a file opening error. More...

#include <format.h>

Inheritance diagram for fmt::SystemError:
Inheritance graph
[legend]
Collaboration diagram for fmt::SystemError:
Collaboration graph
[legend]

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)
 

Detailed Description

An error returned by an operating system or a language runtime, for example a file opening error.

Member Typedef Documentation

typedef char fmt::SystemError::Char
protected

Constructor & Destructor Documentation

fmt::SystemError::SystemError ( )
inlineprotected
fmt::SystemError::SystemError ( int  error_code,
StringRef  message 
)
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.

Member Function Documentation

int fmt::SystemError::error_code ( ) const
inline
void fmt::SystemError::init ( int  error_code,
StringRef  format_str,
const ArgList args 
)
private

Member Data Documentation

int fmt::SystemError::error_code_
protected

The documentation for this class was generated from the following files: