mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-12-24 20:49:28 +00:00
6592b7a3c5
* Add more choices for pin code required duration * Fix spacing in Cake Features * Update Cake Features cards * Update Cake Pay image * Add NanoGPT image * Update Sign/Verify strings * Update more flags * update moonpay currency name * Update more icons * Add friendly message for less than minimum fee * fix translation [skip ci] * Fix icon theming and add Telegram link * Fix color issue for restore screen * rename matic poly to pol * minor potential fix [skip ci] * minor fix [skip ci] * Update analysis_options.yaml * fix translations * fix translation * revert regex changes * Update bitcoin_cash_electrum_server_list.yml * Update address_validator.dart --------- Co-authored-by: OmarHatem <omarh.ismail1@gmail.com>
41 lines
1.1 KiB
Dart
41 lines
1.1 KiB
Dart
import 'package:cw_core/crypto_currency.dart';
|
|
|
|
class TransactionWrongBalanceException implements Exception {
|
|
TransactionWrongBalanceException(this.currency, {this.amount});
|
|
|
|
final CryptoCurrency currency;
|
|
final int? amount;
|
|
}
|
|
|
|
class TransactionNoInputsException implements Exception {}
|
|
|
|
class TransactionNoFeeException implements Exception {}
|
|
|
|
class TransactionNoDustException implements Exception {}
|
|
|
|
class TransactionNoDustOnChangeException implements Exception {
|
|
TransactionNoDustOnChangeException(this.max, this.min);
|
|
|
|
final String max;
|
|
final String min;
|
|
}
|
|
|
|
class TransactionCommitFailed implements Exception {
|
|
final String? errorMessage;
|
|
|
|
TransactionCommitFailed({this.errorMessage});
|
|
}
|
|
|
|
class TransactionCommitFailedDustChange implements Exception {}
|
|
|
|
class TransactionCommitFailedDustOutput implements Exception {}
|
|
|
|
class TransactionCommitFailedDustOutputSendAll implements Exception {}
|
|
|
|
class TransactionCommitFailedVoutNegative implements Exception {}
|
|
|
|
class TransactionCommitFailedBIP68Final implements Exception {}
|
|
|
|
class TransactionCommitFailedLessThanMin implements Exception {}
|
|
|
|
class TransactionInputNotSupported implements Exception {}
|