Handle fatal error during backup import
This commit is contained in:
parent
94dba11bcb
commit
10eeb63776
9 changed files with 146 additions and 41 deletions
|
@ -99,7 +99,15 @@ Error.args = {
|
|||
backupStep: InstallScreenBackupStep.Download,
|
||||
currentBytes: 500 * 1024,
|
||||
totalBytes: 1024 * 1024,
|
||||
error: InstallScreenBackupError.Unknown,
|
||||
error: InstallScreenBackupError.Retriable,
|
||||
};
|
||||
|
||||
export const FatalError = Template.bind({});
|
||||
FatalError.args = {
|
||||
backupStep: InstallScreenBackupStep.Process,
|
||||
currentBytes: 500 * 1024,
|
||||
totalBytes: 1024 * 1024,
|
||||
error: InstallScreenBackupError.Fatal,
|
||||
};
|
||||
|
||||
export const UnsupportedVersion = Template.bind({});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue