|
kmMqtt 0.0.1
MQTT Client Library
|
Contains the result of an MQTT client request operation. More...
#include <ReqResult.h>
Public Member Functions | |
| bool | noError () const noexcept |
| Checks if the request resulted in no error. | |
| bool | hasPacketId () const noexcept |
| Checks if a valid packet identifier is associated with the request. | |
| ClientErrorCode | errorCode () const noexcept |
| Retrieves the error code associated with the request. | |
| const char * | errorMsg () const noexcept |
| Retrieves the error message associated with the request. | |
Contains the result of an MQTT client request operation.
Includes any error information and the associated packet identifier if applicable.
|
inlinenoexcept |
Retrieves the error code associated with the request.
|
inlinenoexcept |
Retrieves the error message associated with the request.
|
inlinenoexcept |
Checks if a valid packet identifier is associated with the request.
|
inlinenoexcept |
Checks if the request resulted in no error.