def get_response(self):
        response = HttpResponse(self.get_message())
        response.status_code = self.__class__.status_code
        return response
Returns an HttpResponse using the code defined in the class
dataset/ETHPy150Open fiam/wapi/exceptions.py/ApiError.get_response