about summary refs log tree commit diff
path: root/quality_control/errors.py
diff options
context:
space:
mode:
Diffstat (limited to 'quality_control/errors.py')
-rw-r--r--quality_control/errors.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/quality_control/errors.py b/quality_control/errors.py
index 99f9c97..758a300 100644
--- a/quality_control/errors.py
+++ b/quality_control/errors.py
@@ -4,10 +4,14 @@ class InvalidCellValue(Exception):
     """Raised when a function encounters an invalid value"""
 
     def __init__(self, *args):
-        Exception.__init__(self, *args)
+        super().__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)
+        super().__init__(self, *args)
+
+class ParseError(Exception):
+    def __init(self, *args):
+        super().__init__(*args)