Phone API Reference -Extended - app.showErrors
Phone API Reference -Extended - app.showErrors
app.showErrors
Description
Clears the screen and shows an error popup on the entire screen. Takes an array of error messages so you can show multiple messages at one time.
Basic Example:
app.showErrors(parameters);
The errors array should contain at least one object that requires the key 'message.' In addition, 'code' can be used to supply an error code in parens at the end of the message.
Parameters
Name | Required | Type | Default | Description |
errors (app.showErrors) | Yes | array |
| An array of messages for display. Each item in the array should be an object that requires the key 'message' and can optionally take the key 'code.' [{
'message' : 'Bad Number',
'code' : '123313'
}, {
'message' : 'Too short'
}]; |
An example Error Screen
This error screen is a result of the app.checkRequired function. If you manually form your on errors array, it will look the same.
Looking for labels? They can now be found in the details panel on the floating action bar.
Related content
Dialogic IMG - SIP Profile - Reattempt Invite On Error
Dialogic IMG - SIP Profile - Reattempt Invite On Error
More like this
Dialogic IMG - IMG 1010 - Configuring Error Handling
Dialogic IMG - IMG 1010 - Configuring Error Handling
More like this
Dialogic IMG - IMG 1010 - ClientView Panes for Configuring Error Handling
Dialogic IMG - IMG 1010 - ClientView Panes for Configuring Error Handling
More like this
Dialogic IMG - IMG 1010 - Configure Error Handling to play a treatment
Dialogic IMG - IMG 1010 - Configure Error Handling to play a treatment
More like this
Dialogic IMG - IMG 1010 - An Overview of Error Handling
Dialogic IMG - IMG 1010 - An Overview of Error Handling
More like this
Dialogic IMG - Front Panel LED Error Codes
Dialogic IMG - Front Panel LED Error Codes
More like this