Improved docs by adding cpl_query.exceptions

This commit is contained in:
2021-11-02 17:23:42 +01:00
parent 6eec92243e
commit d7881774a8
122 changed files with 2061 additions and 8992 deletions

View File

@@ -20,14 +20,20 @@ class ArgumentNoneException(Exception):
class IndexOutOfRangeException(Exception):
r"""Exception when index is out of range
"""
def __init__(self):
Exception.__init__(self, f'List index out of range')
class InvalidTypeException(Exception):
r"""Exception when type is invalid
"""
pass
class WrongTypeException(Exception):
r"""Exception when type is unexpected
"""
pass