File: exceptions.py

package info (click to toggle)
python-directv 0.4.0-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 324 kB
  • sloc: python: 1,067; sh: 5; makefile: 3
file content (19 lines) | stat: -rw-r--r-- 300 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
"""Exceptions for DirecTV."""


class DIRECTVError(Exception):
    """Generic DirecTV exception."""

    pass


class DIRECTVConnectionError(DIRECTVError):
    """DirecTV connection exception."""

    pass


class DIRECTVAccessRestricted(DIRECTVError):
    """DirecTV access restricted."""

    pass