Source code for worldline.acquiring.sdk.v1.authorization_exception

# -*- coding: utf-8 -*-
#
# This file was automatically generated.
#
from typing import Optional

from .api_exception import ApiException


[docs] class AuthorizationException(ApiException): """ Represents an error response from the Worldline Acquiring platform when API authorization failed. """ def __init__(self, status_code: int, response_body: str, type: Optional[str], title: Optional[str], status: Optional[int], detail: Optional[str], instance: Optional[str], message: str = "The Worldline Acquiring platform returned an API authorization error response"): super(AuthorizationException, self).__init__(status_code, response_body, type, title, status, detail, instance, message)