Source code for worldline.acquiring.sdk.json.marshaller_syntax_exception
from typing import Optional
[docs]
class MarshallerSyntaxException(RuntimeError):
"""
Thrown when a JSON string cannot be converted to a response object.
"""
def __init__(self, cause: Optional[Exception] = None):
if cause:
super(MarshallerSyntaxException, self).__init__(cause)
else:
super(MarshallerSyntaxException, self).__init__()