Module error

Module error 

Source
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§

ErrorPlaceHolder
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 a Result compatible with the client’s error type.

Enums§

ConnectReasonCode
Represents the reason codes for a connection refusal (CONNACK).
MqttError
The primary error enum for the MQTT client.
ProtocolError
Enumerates specific MQTT protocol errors.