diff options
Diffstat (limited to 'quality_control/errors.py')
-rw-r--r-- | quality_control/errors.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/quality_control/errors.py b/quality_control/errors.py new file mode 100644 index 0000000..961ce8e --- /dev/null +++ b/quality_control/errors.py @@ -0,0 +1,8 @@ +"""Hold exceptions for QC package""" + +class InvalidValue(Exception): + """Raised when a function encounters an invalid value""" + + def __init__(self, args): + Exception.__init__(self, args) + |