mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-11-06 04:17:42 +00:00
14 lines
308 B
Dart
14 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;
|
||
|
}
|
||
|
}
|