Exception class to represent standard library errors (generally IO). More...
#include <error.hpp>
Public Member Functions | |
std_error (std::string const &message, int error=errno) | |
Constructs an std_error object. More... | |
|
inlineexplicit |
Constructs an std_error object.
The message string is appended with ": "
and the error description as returned by strerror
(error).
message | error description |
error | error number |