Changed structure of cpl-query

This commit is contained in:
2022-09-13 19:33:26 +02:00
parent 28adcc4e49
commit 70652aeb4c
21 changed files with 1339 additions and 704 deletions

View File

@@ -23,8 +23,8 @@ class IndexOutOfRangeException(Exception):
r"""Exception when index is out of range
"""
def __init__(self):
Exception.__init__(self, f'List index out of range')
def __init__(self, err: str = None):
Exception.__init__(self, f'List index out of range' if err is None else err)
class InvalidTypeException(Exception):