error event

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.

Properties

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.

Type

object

Example

sap.AppUpdate.addEventListener('error', function(e) {
    console.log("Error downloading update. statusCode: " + e.statusCode + " statusMessage: " + e.statusMessage);
});

Source

appupdate.js, line 169.