aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gn_libs/mysqldb.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/gn_libs/mysqldb.py b/gn_libs/mysqldb.py
index be21550..6c05a6b 100644
--- a/gn_libs/mysqldb.py
+++ b/gn_libs/mysqldb.py
@@ -11,6 +11,9 @@ from MySQLdb.cursors import Cursor
_logger = logging.getLogger(__file__)
+class InvalidOptionValue(Exception):
+ """Raised whenever a parsed value is invalid for the specific option."""
+
def __check_true__(val: str) -> bool:
"""Check whether the variable 'val' has the string value `true`."""