|
Motion Master 6.0.0-alpha.50
Next-generation motion control software
|
A structured FoE failure. String-like where a caller only forwards it (operator<<, .message, what()); branchable where a caller must react (kind, retry).
More...
#include <foe_error.h>
Public Member Functions | |
| const std::string & | what () const |
Exception-shaped accessor for the message, for call sites that prefer .what(). | |
Public Attributes | |
| FoeErrorKind | kind = FoeErrorKind::Protocol |
| Retry | retry = Retry::Transient |
| std::string | message |
A structured FoE failure. String-like where a caller only forwards it (operator<<, .message, what()); branchable where a caller must react (kind, retry).
|
inline |
Exception-shaped accessor for the message, for call sites that prefer .what().
| FoeErrorKind mm::comm::FoeError::kind = FoeErrorKind::Protocol |
| std::string mm::comm::FoeError::message |
| Retry mm::comm::FoeError::retry = Retry::Transient |