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

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

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

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

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