Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

boost::mqtt5::client::error

Defines error codes related to MQTT client.

Synopsis

Defined in header <boost/mqtt5/error.hpp>

enum class error
    : int;
Values

Name

Description

malformed_packet

The packet is malformed.

packet_too_large

The packet has exceeded the Maximum Packet Size the Server is willing to accept.

session_expired

The Client's session does not exist or it has expired.

pid_overrun

There are no more available Packet Identifiers to use.

invalid_topic

The Topic is invalid and does not conform to the specification.

qos_not_supported

The Server does not support the specified qos_e.

retain_not_available

The Server does not support retained messages.

topic_alias_maximum_reached

The Client attempted to send a Topic Alias that is greater than Topic Alias Maximum.

wildcard_subscription_not_available

The Server does not support Wildcard Subscriptions.

subscription_identifier_not_available

The Server does not support this Subscription Identifier.

shared_subscription_not_available

The Server does not support Shared Subscriptions.

Description

Encapsulates errors that occur on the client side.

Convenience header <boost/mqtt5.hpp>


PrevUpHomeNext