aboutsummaryrefslogtreecommitdiff
"""Hold exceptions for QC package"""

from collections import namedtuple

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

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

InconsistentColumns = namedtuple(
    "InconsistentColumns", ("filename", "line", "header_count", "contents_count", "message"))