JS API Reference
Interface: PaymentServiceEvents
payment/service.PaymentServiceEvents
Table of contents
Properties
Properties
error
• error: (err
: Error
) => void
Triggered when the service encounters an issue in an "asynchronous sub-process" (like accepting payments) that should be notified to the caller
Param
The error raised during an asynchronous process executed by the PaymentService
Type declaration
▸ (err
): void
Triggered when the service encounters an issue in an "asynchronous sub-process" (like accepting payments) that should be notified to the caller
Parameters
Name | Type | Description |
---|---|---|
err | Error | The error raised during an asynchronous process executed by the PaymentService |
Returns
void