class
<system_error>

std::system_error

class system_error : public runtime_error;
System error exception

This class defines the type of objects thrown as exceptions to report conditions originating during runtime from the operating system or other low-level application program interfaces which have an associated error_code.

The class inherits from runtime_error, to which it adds an error_code as member code (and defines a specialized what member).

Member functions