upkie 6.1.0
Open-source wheeled biped robots
|
Exception thrown when an observer fails. More...
#include <ObserverError.h>
Public Member Functions | |
ObserverError (const std::string &prefix, const std::string &key) | |
Create an observer error. More... | |
const std::string & | prefix () const noexcept |
Observer prefix in observation/. | |
const std::string & | key () const noexcept |
Key that was not found. | |
Public Member Functions inherited from upkie::cpp::exceptions::UpkieError | |
UpkieError (const std::string &message) | |
Create a new error. More... | |
UpkieError (const UpkieError &other, const std::string &extra_message) | |
Copy an existing error, adding to the error message. More... | |
const char * | what () const noexcept override |
Error message. | |
Additional Inherited Members | |
Protected Attributes inherited from upkie::cpp::exceptions::UpkieError | |
std::string | message_ |
Complete error message. | |
Exception thrown when an observer fails.
|
inline |
Create an observer error.
[in] | prefix | Observer prefix. |
[in] | key | Key that was not found. |