SudoSOS Back-end API / stripe/payment-request-service / InvalidPaymentRequestBeneficiaryError
Class: InvalidPaymentRequestBeneficiaryError ​
Thrown when a PaymentRequest cannot be created or paid because the beneficiary user is ineligible (soft-deleted, point-of-sale, etc.).
Extends ​
Error
Constructors ​
Constructor ​
ts
new InvalidPaymentRequestBeneficiaryError(reason): InvalidPaymentRequestBeneficiaryError;Parameters ​
| Parameter | Type |
|---|---|
reason | string |
Returns ​
InvalidPaymentRequestBeneficiaryError
Overrides ​
ts
Error.constructor