Remove duplicated code.

This commit is contained in:
Benoit Marty 2025-10-07 17:25:44 +02:00 committed by GitHub
parent d9e8016c38
commit cbfd0d2675
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -19,9 +19,6 @@ fun Throwable.mapRecoveryException(): RecoveryException {
is RustRecoveryException.SecretStorage -> RecoveryException.SecretStorage(
message = errorMessage
)
is RustRecoveryException.Import -> RecoveryException.Import(
message = errorMessage
)
is RustRecoveryException.BackupExistsOnServer -> RecoveryException.BackupExistsOnServer
is RustRecoveryException.Import -> RecoveryException.Import(
message = errorMessage