mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-06-28 20:39:51 +00:00
Enhance bitcoin error message (#1399)
* Enhance bitcoin error message * fix: unconfirmed spends, spend confirmed first, wrong balance exception * Minor fixes --------- Co-authored-by: Rafael Saes <git@rafael.saes.dev>
This commit is contained in:
parent
f3160860b1
commit
9e4a7f4331
9 changed files with 72 additions and 25 deletions
|
@ -19,7 +19,11 @@ class TransactionNoDustOnChangeException implements Exception {
|
|||
final String min;
|
||||
}
|
||||
|
||||
class TransactionCommitFailed implements Exception {}
|
||||
class TransactionCommitFailed implements Exception {
|
||||
final String? errorMessage;
|
||||
|
||||
TransactionCommitFailed({this.errorMessage});
|
||||
}
|
||||
|
||||
class TransactionCommitFailedDustChange implements Exception {}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue