spicetools/api/resources/python/spiceapi/exceptions.py

11 lines
163 B
Python
Raw Permalink Normal View History

2024-08-28 15:10:34 +00:00
class APIError(Exception):
def __init__(self, errors):
super().__init__("\r\n".join(errors))
class MalformedRequestException(Exception):
pass