<gh_stars>1-10
from api_exception import ApiException


class GlobalCollectException(ApiException):
    """
    Represents an error response from the Ingenico ePayments platform when something
    went wrong at the Ingenico ePayments platform or further downstream.
    """

    def __init__(self, status_code, response_body, error_id, errors,
                 message="the Ingenico ePayments platform returned an error response"):
        super(GlobalCollectException, self).__init__(status_code, response_body,
                                                     error_id, errors, message)

from api_exception import ApiException


class GlobalCollectException(ApiException):
    """
    Represents an error response from the Ingenico ePayments platform when something
    went wrong at the Ingenico ePayments platform or further downstream.
    """

    def __init__(self, status_code, response_body, error_id, errors,
                 message="the Ingenico ePayments platform returned an error response"):
        super(GlobalCollectException, self).__init__(status_code, response_body,
                                                     error_id, errors, message)
Represents an error response from the Ingenico ePayments platform when something     went wrong at the Ingenico ePayments platform or further downstream.