ifm3d
|
#include <ifm3d/device/err.h>
Public Member Functions | |
Error (int errnum, const std::string &msg="") | |
The ctor simply sets the error value and optional message into a local instance variables that may be retrieved with a call to code() and message(). | |
virtual const char * | what () const noexcept |
Exception message. | |
int | code () const noexcept |
Accessor to the underlying error code. | |
const char * | message () const noexcept |
Accessor to the underlying error msg. | |
Exception wrapper for library and system errors encountered by the library.