Exception class to represent standard library errors (generally IO).
More...
#include <error.hpp>
|
| | std_error (std::string const &message, int errnum=errno) |
| |
Exception class to represent standard library errors (generally IO).
- See also
- reader, writer
◆ std_error()
| png::std_error::std_error |
( |
std::string const & |
message, |
|
|
int |
errnum = errno |
|
) |
| |
|
inlineexplicit |
Constructs an std_error object. The message string is appended with ": " and the error description as returned by strerror(error).
- Parameters
-
| message | error description |
| error | error number |
◆ thread_safe_strerror()
| static std::string png::std_error::thread_safe_strerror |
( |
int |
errnum | ) |
|
|
inlinestaticprotected |
The documentation for this class was generated from the following file: