Thrown when a client is not authorized to perform an operation, or if there is a problem with the security configuration.
More...
#include <exception.h>
|
int | code_ |
| The error code from the C library.
|
|
string | msg_ |
| The error message from the C library.
|
|
Thrown when a client is not authorized to perform an operation, or if there is a problem with the security configuration.
mqtt::security_exception::security_exception |
( |
int |
code | ) |
|
|
inlineexplicit |
Creates an MQTT security exception.
- Parameters
-
mqtt::security_exception::security_exception |
( |
int |
code, |
|
|
const string & |
msg |
|
) |
| |
|
inline |
Creates an MQTT security exception.
- Parameters
-
code | The error code. |
msg | The text message for the error. |
The documentation for this class was generated from the following file: