Updated on 2026-08-14
This commit is contained in:
parent
8b49dc2f7f
commit
54387cd1ef
3 changed files with 52 additions and 6 deletions
|
|
@ -22,6 +22,13 @@ sealed interface AddressBookSyncError {
|
|||
/** No network or the request could not be completed. */
|
||||
data object Network : AddressBookSyncError
|
||||
|
||||
/**
|
||||
* The wallet already has a stored book that could not be decrypted. The write is refused so the broken
|
||||
* (but non-empty) backend book is not overwritten by a fresh one built on the device — see
|
||||
* [com.tangem.domain.addressbook.repository.AddressBookRepository.saveContact].
|
||||
*/
|
||||
data object DecryptionFailed : AddressBookSyncError
|
||||
|
||||
/** Any other unexpected failure (encryption, missing data, unmapped HTTP code). */
|
||||
data object Unknown : AddressBookSyncError
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue