mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-12-25 13:09:32 +00:00
11 lines
362 B
Dart
11 lines
362 B
Dart
import 'package:cw_core/crypto_currency.dart';
|
|
|
|
class EthereumTransactionCreationException implements Exception {
|
|
final String exceptionMessage;
|
|
|
|
EthereumTransactionCreationException(CryptoCurrency currency) :
|
|
this.exceptionMessage = 'Wrong balance. Not enough ${currency.title} on your balance.';
|
|
|
|
@override
|
|
String toString() => exceptionMessage;
|
|
}
|