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

11 lines
163 B
Python

class APIError(Exception):
def __init__(self, errors):
super().__init__("\r\n".join(errors))
class MalformedRequestException(Exception):
pass