mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-12-30 15:39:25 +00:00
14 lines
458 B
Dart
14 lines
458 B
Dart
|
import 'package:cake_wallet/exchange/exchange_provider_description.dart';
|
||
|
import 'package:cake_wallet/generated/i18n.dart';
|
||
|
|
||
|
class TradeNotFoundException implements Exception {
|
||
|
TradeNotFoundException(this.tradeId, {required this.provider, this.description = ''});
|
||
|
|
||
|
String tradeId;
|
||
|
ExchangeProviderDescription provider;
|
||
|
String description;
|
||
|
|
||
|
@override
|
||
|
String toString() => '${S.current.trade_id_not_found(tradeId, provider.title)} $description';
|
||
|
}
|