TTMSFNCCloudPayPalError Class
Holds the error information returned by the payment service when a request fails.
API unit family: TMSFNCCloudPayPal
Inherits from: TPersistent
Syntax
TTMSFNCCloudPayPalError = class(TPersistent)
Remarks
The properties are read-only and are populated from the failing response. Inspect this object in a payment-failed handler to report the cause to the user.
Properties
| Name | Description |
|---|---|
| ErrorDescription | Additional explanation of the issue that caused the error. |
| ErrorDetails | Field or detail name associated with a validation failure, when available. |
| ErrorMessage | Human-readable message describing the error. |
| ErrorName | Short symbolic name or code identifying the error type. |
Methods
| Name | Description |
|---|---|
| FromJSON | Populates the error fields from a parsed error response. |