pub enum Error {
Show 14 variants
ProtocolVersionNotSupported,
ProtocolError(String),
ParamError(String),
LogError(String),
ConversionError(String),
LinkError(Error),
Disconnected,
VariableNotFound,
SystemError(String),
AppchannelPacketTooLarge,
InvalidArgument(String),
Timeout,
MemoryError(String),
InvalidParameter(String),
}Expand description
Error enum type
Variants§
ProtocolVersionNotSupported
Protocol version not supported, you need to update either the lib or the Crazyflie.
see the crate documentation for more information.
ProtocolError(String)
Unexpected protocol error. The String contains the reason.
ParamError(String)
Parameter subsystem error. The String contains the reason.
LogError(String)
Log Subsystem error. The String contains the reason.
ConversionError(String)
Value conversion error. The String contains the reason.
LinkError(Error)
Crazyflie link configuration error. Returns the error from the Link.
Disconnected
The Crazyflie object is currently disconnected.
VariableNotFound
Variable not found in TOC.
SystemError(String)
Error with the async executors.
AppchannelPacketTooLarge
App channel packets should be no larger than APPCHANNEL_MTU
InvalidArgument(String)
Invalid argument passed to a function. This error indicates that one or more arguments provided to a function are invalid.
Timeout
Operation timed out waiting for response.
MemoryError(String)
Memory content malformed or not as expected. The String contains the reason.
InvalidParameter(String)
Invalid parameter provided to a function. The String contains the reason.