esphome-api-client 0.5.0
Modern C++17 client for the ESPHome native API (plaintext + Noise)
Loading...
Searching...
No Matches
Classes | Namespaces
exception.hpp File Reference

Exception hierarchy thrown by esphome-api-client. More...

#include <stdexcept>
#include <string>
Include dependency graph for exception.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  esphome::api::ApiError
 Base class for every error raised by the library. More...
 
class  esphome::api::ConnectionError
 TCP-level failure: connect refused, reset, EOF, host unreachable. More...
 
class  esphome::api::ProtocolError
 The peer violated the framing or message protocol (bad indicator byte, oversized frame, malformed varint, undecodable payload, ...). More...
 
class  esphome::api::HandshakeError
 The Noise handshake failed (bad PSK, MAC mismatch, unexpected message). More...
 
class  esphome::api::EncryptionMismatchError
 The connection's encryption mode does not match the device: a plaintext client reached a device that requires Noise, or an encrypted client reached a plaintext-only device. More...
 
class  esphome::api::AuthenticationError
 Authentication was rejected, or the negotiated API version is unsupported. More...
 
class  esphome::api::TimeoutError
 An operation did not complete before its deadline. More...
 
class  esphome::api::EncryptionError
 A symmetric encrypt/decrypt operation failed (AEAD tag mismatch, bad nonce). More...
 

Namespaces

namespace  esphome
 
namespace  esphome::api
 

Detailed Description

Exception hierarchy thrown by esphome-api-client.