Expand description
Library error types.
Structs§
- AckError
- Response to the publish request with QoS>0 with reason >= 0x80.
- Auth
Error - Extended authorization was refused by the broker. Accesses AUTH packet with reason value greater or equal 0x80.
- Connect
Error - Connection could not be established with the server. Accesses CONNACK packet with reason value greater or equal 0x80.
- Context
Exited - Error indicating that client Context has exited (run has returned).
- Disconnected
- Broker has terminated the connection by sending DISCONNECT packet. Accesses data in DISCONNECT packet.
- Handle
Closed - Error indicating that ContextHandle object required for completing the operation was dropped.
- Insufficient
Buffer Size - Size of the supplied buffer is too small.
- Internal
Error - Struct representing internal errors. In general, these should not happen and should be trated as an implementation defect.
- Invalid
Encoding - Invalid byte encoding was found.
- Invalid
Packet Header - Header of the incoming packet is invalid.
- Invalid
Packet Size - Size of the incoming packet is not valid.
- Invalid
Property Id - Invalid property identifier found in an incoming packet.
- Invalid
Property Length - Declared propery length of the incoming packet is not valid.
- Invalid
Value - Invalid value was supplied.
- Mandatory
Property Missing - Mandatory property is missing in the packet.
- Maximum
Packet Size Exceeded - Client attemps to send more data to the server than maximum packet size property allows.
- Quota
Exceeded - Trying to send more QoS>0 messages than broker allowed in CONNACK receive_maximum.
- Socket
Closed - Socket was closed.
- Unexpected
Property - Found property that is not valid for the incoming packet.
- Value
Exceedes Maximum - Value exceedes the allowed maximum.
- Value
IsZero - Unaccepted value
0was supplied.
Enums§
- Codec
Error - General error type for the packet codec.
- Conversion
Error - General error type for conversion errors.
- Mqtt
Error - Main library error type. All other errors are converted to this type before being returned to the user.
- Property
Error - General error type for property errors.
Type Aliases§
- Puback
Error - QoS==1 publish failed. Accesses PUBACK packet with reason value greater or equal 0x80.
- Pubcomp
Error - QoS==2 publish failed. Accesses PUBCOMP packet with reason value greater or equal 0x80.
- Pubrec
Error - QoS==2 publish failed. Accesses PUBREC packet with reason value greater or equal 0x80.