Show update UI on backup version mismatch
This commit is contained in:
parent
8557de20c2
commit
230ecdf7c9
15 changed files with 344 additions and 66 deletions
10
ts/services/backups/errors.ts
Normal file
10
ts/services/backups/errors.ts
Normal file
|
@ -0,0 +1,10 @@
|
|||
// Copyright 2024 Signal Messenger, LLC
|
||||
// SPDX-License-Identifier: AGPL-3.0-only
|
||||
|
||||
import type Long from 'long';
|
||||
|
||||
export class UnsupportedBackupVersion extends Error {
|
||||
constructor(version: Long) {
|
||||
super(`Unsupported backup version: ${version}`);
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue