PythonRMV/pyrmv/errors/ps_errors.py

13 lines
411 B
Python
Raw Normal View History

2022-09-23 14:53:33 +03:00
class PsIncorrectParamError(Exception):
"""
An invalid parameter combination was requested, i.e. the
defined range of stable segments encompassed all public
transport sections or it was attempted to search
forward/backward from the end/beginning of the
connection.
"""
def __init__(self):
super().__init__(self.__doc__)
def __str__(self):
return self.__doc__