libstdc++: std::system_error Class Reference (original) (raw)

#include <[system_error](a00221%5Fsource.html)>

Inheritance diagram for std::system_error:

Public Member Functions
system_error (const system_error &)=default
system_error (error_code __ec, const char *__what)
system_error (error_code __ec, const string &__what)
system_error (error_code __ec=error_code())
system_error (int __v, const error_category &__ecat)
system_error (int __v, const error_category &__ecat, const char *__what)
system_error (int __v, const error_category &__ecat, const string &__what)
const error_code & code () const noexcept
system_error & operator= (const system_error &)=default
virtual const char * what () const noexcept

Detailed Description

An exception type that includes an error_code value.

Typically used to report errors from the operating system and other low-level APIs.

Since

C++11

Definition at line 556 of file system_error.

Constructor & Destructor Documentation

system_error() [2/6]

std::system_error::system_error ( error_code __ec, const string & __what ) inline

system_error() [3/6]

std::system_error::system_error ( error_code __ec, const char * __what ) inline

system_error() [4/6]

std::system_error::system_error ( int __v, const error_category & __ecat, const char * __what ) inline

system_error() [5/6]

std::system_error::system_error ( int __v, const error_category & __ecat ) inline

system_error() [6/6]

std::system_error::system_error ( int __v, const error_category & __ecat, const string & __what ) inline

Member Function Documentation

code()

const error_code & std::system_error::code ( ) const inlinenoexcept

what()

virtual const char * std::runtime_error::what ( ) const virtualnoexceptinherited

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