Event fired when AppUpdate encounters an error while checking for an update or downloading an update. The status code and status message are provided with this event.
| Name | Type | Default | Description |
| type | string | undefined | The name of the event.Value will be error. |
| statusCode | int | undefined | The http error code. |
| statusMessage | string | undefined | The http status message. |
object
sap.AppUpdate.addEventListener('error', function(e) {
console.log("Error downloading update. statusCode: " + e.statusCode + " statusMessage: " + e.statusMessage);
});