strerror
Purpose: The function strerror is used to translate an exception into a string. This string is shown to the customer when an error occurs.
Example PHP code
strerror ($reason)
Input Data:
| Required | Variable | Type | Description |
|---|---|---|---|
| reason | string | Exception returned from for example add_transaction or activate_invoice |
Return Value:
A suitable text string for a store customer.


Subscribe to our RSS feed for technical updates