Exception class to represent standard library errors (generally IO).
More...
#include <error.hpp>
List of all members.
Public Member Functions |
| | std_error (std::string const &message, int errnum=errno) |
Static Protected Member Functions |
| static std::string | thread_safe_strerror (int errnum) |
Detailed Description
Exception class to represent standard library errors (generally IO).
- See also:
- reader, writer
Constructor & Destructor Documentation
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 |
Member Function Documentation
The documentation for this class was generated from the following file: