From 7bd0a4c58dc1d238027c593b24c2d783e88b8f49 Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Mon, 11 Apr 2022 14:00:30 +0300 Subject: Implement tests and stubs for functions under test --- quality_control/errors.py | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 quality_control/errors.py (limited to 'quality_control/errors.py') 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) + -- cgit v1.2.3