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.
Definition at line 14 of file Exception.hpp.
◆ Exception()
| Exception::Exception |
( |
const astra_status_t |
status | ) |
|
- Parameters
-
| status | The astra_status_t value to wrap. ASTRA_STATUS_SUCCESS should not be thrown. |
Definition at line 9 of file Exception.cpp.
◆ what()
| const char * Exception::what |
( |
| ) |
const |
|
virtualnoexcept |
- Returns
- A string representing the astra_status_t
Definition at line 14 of file Exception.cpp.
◆ status_
| astra_status_t astra_ros::Exception::status_ |
|
private |
The documentation for this class was generated from the following files: