Device error. More...
#include <deviceException.hpp>
Public Member Functions | |
| DeviceException (const std::string &message, int errnum=errno) | |
| virtual | ~DeviceException () noexcept |
Device error.
The errno value of the failed system call is available with code() ( std::generic_category ) and its description is appended to the message returned by what() .
|
explicit |
DeviceException constructor
| message | the error message |
| errnum | the errno value (default to current errno ) |
|
virtualnoexcept |
DeviceException destructor