Updated on 2026-08-14

This commit is contained in:
Tangem 2021-02-11 20:54:06 +03:00
parent 18b0b9f15b
commit 88e5d2c423
7 changed files with 16 additions and 3 deletions

View file

@ -140,6 +140,11 @@ private fun sendTransaction(
message.contains("50002") -> {
// user was cancelled the operation by closing the Sdk bottom sheet
}
// make it easier latter by handling an appropriate enumError or, like on iOS,
// accept a string identifier of the error message
message.contains("Target account is not created. To create account send 1+ XLM.")-> {
dispatch(SendAction.SendError(TapError.XmlError.AssetAccountNotCreated))
}
else -> {
Timber.e(throwable)
FirebaseCrashlytics.getInstance().recordException(throwable)