FDEV-CAPI-Handler/capi/exceptions.py
2021-12-05 23:21:07 +03:00

7 lines
258 B
Python

class RefreshFail(Exception):
def __init__(self, message: str, status: str, state: str):
self.message = message
self.status = status
self.state = state
super().__init__(str(self.message) + ' for ' + str(self.state))