stack_wallet/lib/exceptions/exchange/exchange_exception.dart
2023-02-04 11:15:42 -06:00

13 lines
308 B
Dart

import 'package:stackwallet/exceptions/sw_exception.dart';
enum ExchangeExceptionType { generic, serializeResponseError }
class ExchangeException extends SWException {
ExchangeExceptionType type;
ExchangeException(super.message, this.type);
@override
String toString() {
return message;
}
}