You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
350 B
12 lines
350 B
3 years ago
|
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';
|
||
|
}
|