aboutsummaryrefslogtreecommitdiff
path: root/quality_control/errors.py
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2022-04-11 14:00:30 +0300
committerFrederick Muriuki Muriithi2022-04-11 14:00:30 +0300
commit7bd0a4c58dc1d238027c593b24c2d783e88b8f49 (patch)
treeef78984ef3b7cf9cdec5005df5a4a06a253b06bb /quality_control/errors.py
parenta126edd7a9f2a72bf744a34c57aa9cb23568ba29 (diff)
downloadgn-uploader-7bd0a4c58dc1d238027c593b24c2d783e88b8f49.tar.gz
Implement tests and stubs for functions under test
Diffstat (limited to 'quality_control/errors.py')
-rw-r--r--quality_control/errors.py8
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)
+