Paho Asynchronous MQTT C Client Library: MQTTAsync_failureData Struct Reference

| Paho Asynchronous MQTT C Client Library

Data Fields
MQTTAsync_failureData Struct Reference

`#include <MQTTAsync.h>`

## Data Fields
MQTTAsync_token | token
int | code
const char * | message

## Detailed Description

The data returned on completion of an unsuccessful API call in the response callback onFailure.

## Field Documentation

## ◆ token

MQTTAsync_token token

A token identifying the failed request.

## ◆ code

int code

A numeric code identifying the error.

## ◆ message

const char* message

Optional text explaining the error. Can be NULL.

The documentation for this struct was generated from the following file:

- MQTTAsync.h