![]() |
paho-mqtt-cpp
MQTT C++ Client for POSIX and Windows
|
#include <exception.h>
Public Member Functions | |
missing_response (const string &rsp) | |
![]() | |
exception (int rc) | |
exception (int rc, ReasonCode reasonCode) | |
exception (int rc, const string &msg) | |
exception (int rc, ReasonCode reasonCode, const string &msg) | |
int | get_return_code () const |
string | get_error_str () const |
int | get_reason_code () const |
string | get_reason_code_str () const |
string | get_message () const |
string | to_string () const |
Additional Inherited Members | |
![]() | |
static string | error_str (int rc) |
static string | reason_code_str (int reasonCode) |
static string | printable_error (int rc, int reasonCode=ReasonCode::SUCCESS, const string &msg=string()) |
![]() | |
int | rc_ |
ReasonCode | reasonCode_ |
string | msg_ |
Exception thrown when an expected server response is missing.
|
inline |
Create a missing response error.
rsp | A string for the type of response expected. |