[−][src]Module paho_mqtt::errors
The MQTT errors
Enums
Error | The errors from an MQTT operation. |
Constants
BadMqttOption | Using an option for a different version of MQTT than the client or connection is currently using. |
BadProtocol | Protocol prefix in serverURI must be "tcp://", "ssl://", "ws://", or "wss://" The TLS enabled prefixes (ssl, wss) are only valid when using the AAL/TLS version of the library. |
BadQos | A qos parameter is not 0, 1 or 2 |
BadStructure | A structure parameter does not have the correct eyecatcher and version number. |
BadUtfString | An invalid UTF-8 string has been detected. |
Disconnected | The client is disconnected |
Failure | A generic error code indicating the failure of an MQTT client operation |
MaxBufferedMessages | No more messages can be buffered |
MaxMessagesInflight | The maximum number of messages allowed to be simultaneously in-flight has been reached. |
NoMoreMsgids | All 65535 MQTT msgids are being used |
NullParameter | A NULL parameter has been supplied when this is invalid. |
OperationIncomplete | The request is being discarded when not complete |
PersistenceError | An error in the message persistence |
SslNotSupported | Attempting SSL connection using non-SSL version of library |
TopicNameTruncated | The topic has been truncated (the topic string includes embedded NULL characters). String functions will not access the full topic. Use the topic length value to access the full topic. |
WrongMqttVersion | Call not applicable to the current version of MQTT in use. |
ZeroLenWillTopic | Zero-length will topics not supported. |
Functions
error_message |
Type Definitions
Result | The result type for MQTT operations. |