| 1234567891011121314151617 |
- class validator_exception(Exception):
- def __init__(self, name: str):
- super().__init__("Invalid property names: " + name + ".")
- class exists_exception(Exception):
- def __init__(self, name: str):
- super().__init__("Item with this " + name + " already in database.")
- class not_ready_exception(Exception):
- def __init__(self, target: any):
- dump = str(target)
- what = str(type(target))
-
- info = "Can not work, because " + what + " is not raeady.\n"
- info = info + "Dump:\n" + what + "\n\n"
- super().__init__(info)
|