aioesphomeapi/aioesphomeapi/__init__.py
Otto Winter 5c9e7acbce
Emit different Exception types to differentiate between connection errors (#102)
* Emit different Exception types to differentiate between connection errors

* Import in init
2021-09-14 12:44:52 +02:00

17 lines
416 B
Python

# flake8: noqa
from .client import APIClient
from .connection import APIConnection, ConnectionParams
from .core import (
MESSAGE_TYPE_TO_PROTO,
APIConnectionError,
HandshakeAPIError,
InvalidAuthAPIError,
InvalidEncryptionKeyAPIError,
ProtocolAPIError,
RequiresEncryptionAPIError,
ResolveAPIError,
SocketAPIError,
)
from .model import *
from .reconnect_logic import ReconnectLogic