aboutsummaryrefslogtreecommitdiff
path: root/quality_control/errors.py
blob: 758a30055fcdf5e2f7192d6a338b51f995ca36a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
"""Hold exceptions for QC package"""

class InvalidCellValue(Exception):
    """Raised when a function encounters an invalid value"""

    def __init__(self, *args):
        super().__init__(self, *args)

class InvalidHeaderValue(Exception):
    """Raised when a header contains values not in the reference file."""

    def __init__(self, *args):
        super().__init__(self, *args)

class ParseError(Exception):
    def __init(self, *args):
        super().__init__(*args)