async_mqtt 9.0.1
Loading...
Searching...
No Matches
mqtt_error
Collaboration diagram for mqtt_error:

Enumerations

enum class  async_mqtt::mqtt_error {
  mqtt_error::partial_error_detected = 0x0101 , mqtt_error::all_error_detected = 0x0180 , mqtt_error::packet_identifier_fully_used = 0x0181 , mqtt_error::packet_identifier_conflict = 0x0182 ,
  mqtt_error::packet_not_allowed_to_send = 0x0183 , mqtt_error::packet_not_allowed_to_store = 0x0185 , mqtt_error::packet_not_regulated = 0x0186
}
 general error code More...
 

Functions

error_code async_mqtt::make_error_code (mqtt_error v)
 make error code
 
constexpr char const * async_mqtt::mqtt_error_to_string (mqtt_error v)
 stringize mqtt_error
 
std::ostream & async_mqtt::operator<< (std::ostream &o, mqtt_error v)
 output to the stream
 
sys::error_category const & async_mqtt::get_mqtt_error_category ()
 get gategory of mqtt_error
 

Detailed Description

Enumeration Type Documentation

◆ mqtt_error

enum class async_mqtt::mqtt_error
strong

general error code

Requirements

Enumerator
partial_error_detected 

Some entries have error on suback/unsuback (not an error)

all_error_detected 

All entries have error on suback/unsuback.

packet_identifier_fully_used 

Packet Identifier fully used.

packet_identifier_conflict 

Packet Identifier conflict.

packet_not_allowed_to_send 

Packet is not allowd to be sent.

packet_not_allowed_to_store 

Packet is not allowd to be stored.

packet_not_regulated 

Packet is not regulated.

Function Documentation

◆ get_mqtt_error_category()

sys::error_category const & async_mqtt::get_mqtt_error_category ( )

get gategory of mqtt_error

Returns
category

Requirements

◆ make_error_code()

error_code async_mqtt::make_error_code ( mqtt_error v)

make error code

Parameters
vtarget
Returns
mqtt_error string

Requirements

◆ mqtt_error_to_string()

char const * async_mqtt::mqtt_error_to_string ( mqtt_error v)
constexpr

stringize mqtt_error

Parameters
vtarget
Returns
mqtt_error string

Requirements

◆ operator<<()

std::ostream & async_mqtt::operator<< ( std::ostream & o,
mqtt_error v )

output to the stream

Parameters
ooutput stream
vtarget
Returns
output stream

Requirements