Source code for worldline.acquiring.sdk.authentication.oauth2_exception
from typing import Optional
[docs]
class OAuth2Exception(RuntimeError):
"""
Indicates an exception regarding the authorization with the Worldline OAuth2 Authorization Server.
"""
def __init__(self, message: Optional[str] = None):
super(OAuth2Exception, self).__init__(message)