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) | |
Exception class to represent standard library errors (generally IO).
| png::std_error::std_error | ( | std::string const & | message, | |
| int | error = errno | |||
| ) | [inline, explicit] |
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 |
1.7.1