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.

 

API functions

Add_transaction functions
Invoice handling functions
Test persons