Xavia SDK c++ API 2.1.0
API description of the xavia library
Loading...
Searching...
No Matches
Exception Class Reference

Exception base class for the Xavia SDK exceptions. More...

Inheritance diagram for Exception:

Public Member Functions

SensorError GetType () const
 Get the type of the exception.
const char * what () const noexcept override
 return traditional, human readable version of the exception.

Detailed Description

Exception base class for the Xavia SDK exceptions.

Extends the standard exception with the 'GetType()' method. Use that method to understand which type of exception is thrown.

Member Function Documentation

◆ GetType()

SensorError GetType ( ) const

Get the type of the exception.

Returns
Enum indicating exception type.
See also
SensorError.