Files
ki-experten-ansible/.venv/lib/python3.12/site-packages/hetzner/__init__.py
2026-02-16 17:41:03 +00:00

19 lines
371 B
Python

class RobotError(Exception):
def __init__(self, message, status=None):
if status is not None:
message = "{0} ({1})".format(message, status)
super(RobotError, self).__init__(message)
self.status = status
class ManualReboot(Exception):
pass
class ConnectError(Exception):
pass
class WebRobotError(RobotError):
pass