Updated on 2026-08-14

This commit is contained in:
Tangem 2023-10-23 16:09:14 +04:00
parent 6bbe8b6606
commit 0928055213
5 changed files with 15 additions and 7 deletions

View file

@ -15,7 +15,7 @@ sealed class UserWalletsListError(code: Int) : TangemError(code) {
override val messageResId: Int = R.string.user_wallet_list_error_wallet_already_saved
}
object EncryptionKeyInvalidated : UserWalletsListError(code = 60002) {
object AllKeysInvalidated : UserWalletsListError(code = 60002) {
override var customMessage: String = "Encryption key invalidated"
}
@ -23,6 +23,10 @@ sealed class UserWalletsListError(code: Int) : TangemError(code) {
override var customMessage: String = "Biometrics authentication disabled"
}
object NoUserWalletSelected : UserWalletsListError(code = 60006) {
override var customMessage: String = "No user wallet selected"
}
data class BiometricsAuthenticationLockout(val isPermanent: Boolean) : UserWalletsListError(code = 60003) {
override var customMessage: String = "Biometric authentication lockout, permanent: $isPermanent"
}