mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-11-18 10:11:03 +00:00
13 lines
323 B
Dart
13 lines
323 B
Dart
import 'package:stackwallet/exceptions/sw_exception.dart';
|
|
|
|
enum ExchangeExceptionType { generic, serializeResponseError, orderNotFound }
|
|
|
|
class ExchangeException extends SWException {
|
|
ExchangeExceptionType type;
|
|
ExchangeException(super.message, this.type);
|
|
|
|
@override
|
|
String toString() {
|
|
return message;
|
|
}
|
|
}
|