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).