Wraps a astra_status_t when an Astra SDK call fails.
More...
#include <Exception.hpp>
|
| Exception (const astra_status_t status) |
|
virtual const char * | what () const noexcept |
|
Wraps a astra_status_t when an Astra SDK call fails.
◆ Exception()
astra_ros::Exception::Exception |
( |
const astra_status_t |
status | ) |
|
- Parameters
-
status | The astra_status_t value to wrap. ASTRA_STATUS_SUCCESS should not be thrown. |
◆ what()
virtual const char* astra_ros::Exception::what |
( |
| ) |
const |
|
virtualnoexcept |
- Returns
- A string representing the astra_status_t
The documentation for this class was generated from the following file: