Add connection error codes

Summary:
related to T13651
- separate code related to reason codes into their own header
- introduce new connection error codes that will be return when a non-recoverable error occurs in connect_op
- add appropriate coverage tests

Reviewers: ivica

Reviewed By: ivica

Subscribers: miljen, iljazovic

Differential Revision: https://repo.mireo.local/D27808
This commit is contained in:
Korina Šimičević
2024-02-05 15:25:05 +01:00
parent e0ae572e1b
commit d1d50d029d
13 changed files with 812 additions and 522 deletions

View File

@@ -5,6 +5,7 @@
#include <boost/asio/prepend.hpp>
#include <async_mqtt5/error.hpp>
#include <async_mqtt5/reason_codes.hpp>
#include <async_mqtt5/types.hpp>
#include <async_mqtt5/detail/cancellable_handler.hpp>