Expand description
§Error Types
This module defines the error types used throughout the MQTT client library, providing detailed information about potential failures, from transport issues to protocol violations.
Structs§
- Error
Place Holder - A placeholder error type used in generic contexts where the specific transport
error is not yet known. This is a common pattern for implementing
encode
methods that need to return aResult
compatible with the client’s error type.
Enums§
- Connect
Reason Code - Represents the reason codes for a connection refusal (
CONNACK
). - Mqtt
Error - The primary error enum for the MQTT client.
- Protocol
Error - Enumerates specific MQTT protocol errors.