mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-12-23 20:19:25 +00:00
10 lines
310 B
Dart
10 lines
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.';
|
||
|
}
|