#include <ifm3d/device/err.h>
|
| Error (int errnum, const std::string &msg="") |
|
virtual const char * | what () const noexcept |
|
int | code () const noexcept |
|
const char * | message () const noexcept |
|
Exception wrapper for library and system errors encountered by the library.
◆ Error()
ifm3d::Error::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().
◆ code()
int ifm3d::Error::code |
( |
| ) |
const |
|
noexcept |
Accessor to the underlying error code
◆ message()
const char* ifm3d::Error::message |
( |
| ) |
const |
|
noexcept |
Accessor to the underlying error msg
◆ what()
virtual const char* ifm3d::Error::what |
( |
| ) |
const |
|
virtualnoexcept |
The documentation for this class was generated from the following file: