<filename>hms/exceptions.py

class ApiCallError(Exception):
    def __init__(self, message, detail=None):
        Exception.__init__(self, message)
        self.detail = detail

<filename>hms/exceptions.py

class ApiCallError(Exception):
    def __init__(self, message, detail=None):
        Exception.__init__(self, message)
        self.detail = detail
