File: exceptions.py

package info (click to toggle)
virtnbdbackup 2.42-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 672 kB
  • sloc: python: 4,426; makefile: 9
file content (15 lines) | stat: -rw-r--r-- 240 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
"""
Exceptions
"""


class NbdClientException(Exception):
    """Nbd exceptions"""


class NbdConnectionError(NbdClientException):
    """Connection failed"""


class NbdConnectionTimeout(NbdClientException):
    """Connection timed out"""