UpdateManager.onUpdateFailed

Listen for the event that the mini program update is failed. Instead of being triggered by the developer, the client side triggers the new version downloading actively. A callback is performed when the new version of the mini program is failed to be downloaded. The failure might be caused by the network issue.