pub enum AIOProtocolErrorKind {
HeaderMissing,
HeaderInvalid,
PayloadInvalid,
Timeout,
Cancellation,
ConfigurationInvalid,
StateInvalid,
InternalLogicError,
UnknownError,
ExecutionException,
ClientError,
UnsupportedVersion,
}
Expand description
Represents the kind of error that occurs in an Azure IoT Operations Protocol
Variants§
HeaderMissing
A required MQTT header property is missing on a received message
HeaderInvalid
An MQTT header property has an invalid value on a received message
PayloadInvalid
MQTT payload cannot be serialized or deserialized
Timeout
An operation was aborted due to timeout
Cancellation
An operation was cancelled
ConfigurationInvalid
An argument, struct or enum field, configuration file, or environment variable has an invalid value
StateInvalid
The current program state is invalid vis-a-vis the function that was called
InternalLogicError
The client or service observed a condition that was thought to be impossible
UnknownError
The client or service received an unexpected error from a dependent component
ExecutionException
The command processor encountered an error while executing the command
ClientError
The MQTT communication encountered an error and failed. The exception message should be inspected for additional information
UnsupportedVersion
A request or response was received containing a protocol version that is not supported