File: exceptions.py

package info (click to toggle)
python-aioharmony 0.2.10-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 308 kB
  • sloc: python: 2,587; sh: 24; makefile: 13
file content (19 lines) | stat: -rw-r--r-- 319 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
"""
Define the exception classes for aioharmony module.
"""


class HarmonyException(Exception):
    """Top level Harmony Exception"""


class HarmonyClient(HarmonyException):
    """
    Top level exception for HarmonyClient
    """


class TimeOut(HarmonyClient, TimeoutError):
    """
    Raised on timeouts
    """