mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-12-23 20:19:25 +00:00
12 lines
No EOL
350 B
Dart
12 lines
No EOL
350 B
Dart
import 'package:flutter/foundation.dart';
|
|
import 'package:cake_wallet/buy/buy_provider_description.dart';
|
|
|
|
class BuyException implements Exception {
|
|
BuyException({@required this.description, @required this.text});
|
|
|
|
final BuyProviderDescription description;
|
|
final String text;
|
|
|
|
@override
|
|
String toString() => '${description.title}: $text';
|
|
} |