Handle fatal error during backup import

This commit is contained in:
trevor-signal 2024-12-05 11:35:37 -05:00 committed by GitHub
parent 94dba11bcb
commit 10eeb63776
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 146 additions and 41 deletions

View file

@ -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({});