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

from collections import namedtuple

InvalidValue = namedtuple(
    "InvalidValue", ("line", "column", "value", "message"))

DuplicateHeading = namedtuple(
    "DuplicateHeading", ("line", "columns", "heading", "message"))