14 using std::runtime_error::runtime_error;
20 using ApiError::ApiError;
27 using ApiError::ApiError;
33 using ProtocolError::ProtocolError;
43 using HandshakeError::HandshakeError;
49 using ApiError::ApiError;
55 using ApiError::ApiError;
61 using ProtocolError::ProtocolError;
Base class for every error raised by the library.
Definition exception.hpp:12
Authentication was rejected, or the negotiated API version is unsupported.
Definition exception.hpp:47
TCP-level failure: connect refused, reset, EOF, host unreachable.
Definition exception.hpp:18
A symmetric encrypt/decrypt operation failed (AEAD tag mismatch, bad nonce).
Definition exception.hpp:59
The connection's encryption mode does not match the device: a plaintext client reached a device that ...
Definition exception.hpp:41
The Noise handshake failed (bad PSK, MAC mismatch, unexpected message).
Definition exception.hpp:31
The peer violated the framing or message protocol (bad indicator byte, oversized frame,...
Definition exception.hpp:25
An operation did not complete before its deadline.
Definition exception.hpp:53