pay.errors ========== .. py:module:: pay.errors Attributes ---------- .. autoapisummary:: pay.errors.CARD_ERRORS Exceptions ---------- .. autoapisummary:: pay.errors.DatatransPaymentError pay.errors.DatatransApiError pay.errors.SaferpayPaymentError pay.errors.SaferpayApiError Module Contents --------------- .. py:exception:: DatatransPaymentError Bases: :py:obj:`Exception` Common base class for all non-exit exceptions. .. py:exception:: DatatransApiError(code: str, message: str, terminal: bool) Bases: :py:obj:`DatatransPaymentError` Common base class for all non-exit exceptions. .. py:attribute:: code .. py:attribute:: message .. py:attribute:: terminal .. py:exception:: SaferpayPaymentError Bases: :py:obj:`Exception` Common base class for all non-exit exceptions. .. py:exception:: SaferpayApiError(name: str, message: str, behavior: str, detail: list[str] | None = None) Bases: :py:obj:`SaferpayPaymentError` Common base class for all non-exit exceptions. .. py:attribute:: name .. py:attribute:: message .. py:attribute:: behavior .. py:attribute:: details :value: () .. py:data:: CARD_ERRORS