aioappsrv/appservice/errors.py

6 lines
137 B
Python
Raw Permalink Normal View History

2021-04-17 06:45:51 +02:00
class RequestError(Exception):
def __init__(self, status: int, *args):
super().__init__(*args)
self.status = status