Skip to content

SudoSOS Back-end API / stripe/payment-request-service / IllegalPaymentRequestTransitionError

Class: IllegalPaymentRequestTransitionError ​

Thrown when a state transition on a PaymentRequest is illegal — e.g. cancelling an already-paid request, or starting payment on a cancelled or expired one.

Extends ​

  • Error

Constructors ​

Constructor ​

ts
new IllegalPaymentRequestTransitionError(reason): IllegalPaymentRequestTransitionError;

Parameters ​

ParameterType
reasonstring

Returns ​

IllegalPaymentRequestTransitionError

Overrides ​

ts
Error.constructor