onTaskFailed

open fun onTaskFailed(@NotNull task: @NotNull Task<FirmwareUpgradeManager.Settings, FirmwareUpgradeManager.State>, @NotNull error: @NotNull McuMgrException)