9 class error
: public std::exception
12 error(std::string message
)
14 description
= message
;
17 error(int error
, std::string message
)
19 description
= message
+ ": " + strerror(error
);
26 const char *what() const throw ()
28 return description
.c_str();
32 std::string description
;