signal-desktop/ts/services/backups/errors.ts
automated-signal 9914fefe1c
Show update UI on backup version mismatch
Co-authored-by: Fedor Indutny <79877362+indutny-signal@users.noreply.github.com>
2024-11-13 09:33:01 -08:00

10 lines
258 B
TypeScript

// 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}`);
}
}