cake_wallet/cw_bitcoin/lib/bitcoin_transaction_wrong_balance_exception.dart

10 lines
No EOL
310 B
Dart

import 'package:cw_core/crypto_currency.dart';
class BitcoinTransactionWrongBalanceException implements Exception {
BitcoinTransactionWrongBalanceException(this.currency);
final CryptoCurrency currency;
@override
String toString() => 'Wrong balance. Not enough ${currency.title} on your balance.';
}