File: exceptions.py

package info (click to toggle)
python-hole 0.9.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 128 kB
  • sloc: python: 680; makefile: 3
file content (13 lines) | stat: -rw-r--r-- 233 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
"""Exceptions for *hole API Python client"""


class HoleError(Exception):
    """General HoleError exception occurred."""

    pass


class HoleConnectionError(HoleError):
    """When a connection error is encountered."""

    pass