ifm3d
ifm3d::Error Class Reference

#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.
 

Detailed Description

Exception wrapper for library and system errors encountered by the library.


The documentation for this class was generated from the following file: