File: exceptions.py

package info (click to toggle)
python-rabbitair 0.0.8-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 216 kB
  • sloc: python: 1,038; makefile: 13; sh: 5
file content (13 lines) | stat: -rw-r--r-- 268 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
"""Rabbit Air Python library exceptions."""


class NetworkError(Exception):
    """The network connection behaved in an unexpected way."""

    pass


class ProtocolError(Exception):
    """The protocol message was recognized but has invalid parameters."""

    pass