|
Motion Master 6.0.0-alpha.111
Next-generation motion control software
|
Why reading or writing one parameter by its address failed. More...
#include <device_manager.h>
Public Types | |
| enum class | Kind : uint8_t { kUnknownDevice , kUnknownParameter , kInvalidValue , kTransferFailed } |
Public Member Functions | |
| const std::string & | what () const |
Exception-shaped accessor for the message, for call sites that prefer .what(). | |
Public Attributes | |
| Kind | kind = Kind::kTransferFailed |
| std::string | message |
Why reading or writing one parameter by its address failed.
Structured rather than a string because the HTTP layer answers each kind with a different status: an address that names nothing is 404, a value that does not fit the data type is 400, and a failed transfer is 500.
|
strong |
|
inline |
Exception-shaped accessor for the message, for call sites that prefer .what().
| Kind mm::node::ParameterError::kind = Kind::kTransferFailed |
| std::string mm::node::ParameterError::message |