Source code for ingenico.connect.sdk.reference_exception
from api_exception import ApiException
[docs]class ReferenceException(ApiException):
"""
Represents an error response from the Ingenico ePayments platform when a
non-existing or removed object is trying to be accessed.
"""
def __init__(self, status_code, response_body, error_id, errors,
message="the Ingenico ePayments platform returned a reference error response"):
super(ReferenceException, self).__init__(status_code, response_body, error_id, errors, message)