cake_wallet/lib/buy/buy_exception.dart

12 lines
348 B
Dart
Raw Normal View History

import 'package:flutter/foundation.dart';
import 'package:cake_wallet/buy/buy_provider_description.dart';
class BuyException implements Exception {
2022-10-12 17:09:57 +00:00
BuyException({required this.description, required this.text});
final BuyProviderDescription description;
final String text;
@override
String toString() => '${description.title}: $text';
}