# UpdateManager.onUpdateFailed(function callback)

with Promise style call: Not supported

Mini Program plugin: Not supported

Listen for Mini Programs to update failed events. Mini Program has a new version, the client active trigger download (without developer trigger), download failure (may be network reasons, etc.) after the callback

# parameter

# function callback

Callback function for Mini Program update failure event

# sample code

[sample code]((UpdateManager#sample code))