Overview
Members-Overview
|
:Map.<String, String> |
|
:String |
|
:String |
|
:String |
|
:timapi.NativeError |
|
:timapi.PpInfo |
|
:timapi.PrintData |
|
:timapi.Basket |
|
:timapi.constants.ResultCode |
|
:Object |
Methods-Overview
- getLocalizedMessage()
- toString() → {String}
Member-List
additionalErrorInfo :Map.<String, String>
Additional error information mapping error text to error type.
errorMessage :String
Returns the error message as transmitted from the terminal.
The message language depends on the terminal but will generally be in English.
An empty string is returned if the terminal does not send a message.
localizedMessage :String
Returns the localised error message in human readable form derived from the error code sent by the terminal.
The message will be in the merchant language of the terminal provided systemInformation() has been executed (English otherwise).
rejectedBasket :timapi.Basket
Rejected basket as modified by host or undefined if absent. Used for guide petrol only.
Methods
getLocalizedMessage()
Returns the localised error message in human readable form derived from the
error code sent by the terminal.
The message will be in the language supplied in the parameter.
Valid language strings are currently: "en","de","de-AT","de-CH","fr","fr-BE",
"fr-CH","it","bg","hr","cs","nl","nl-BE","nl-NL","el","hu","lt","pl","pt",
"ro","sk","sl","es","sv","fi","no","da"
"de" defaults to "de-CH"
"fr" defaults to "fr-CH"
"nl" defaults to "nl-BE"
toString() → {String}
Get string representation of exception
Returns:
String representation of exception
Type: String