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 (19 lines) | stat: -rw-r--r-- 353 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
"""
Exceptions
"""


class StreamFormatException(Exception):
    """Wrong metadata header"""


class MetaHeaderFormatException(StreamFormatException):
    """Wrong metadata header"""


class BlockFormatException(StreamFormatException):
    """Wrong metadata header"""


class FrameformatException(StreamFormatException):
    """Frame Format is wrong"""