understand MqttClient::LastError() int #697
Answered
by
bretambrose
certabitmh
asked this question in
Q&A
-
when calling LastError() method of https://aws.github.io/aws-iot-device-sdk-cpp-v2/class_aws_1_1_iot_1_1_mqtt_client.html#a7019e052869b4b121aed212f2b3347a4 , I get 5132 (int). How is this integer mapped to a meaningful error description? Found enum aws_common_error in aws/comon/error.h but still have no clue on that. Thanks |
Beta Was this translation helpful? Give feedback.
Answered by
bretambrose
Mar 21, 2024
Replies: 1 comment 1 reply
-
https://github.com/awslabs/aws-crt-cpp/blob/v0.23.0/include/aws/crt/Api.h#L205 will give you a brief error description |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
certabitmh
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://github.com/awslabs/aws-crt-cpp/blob/v0.23.0/include/aws/crt/Api.h#L205 will give you a brief error description