mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-06-28 12:29:51 +00:00
21 lines
No EOL
578 B
Dart
21 lines
No EOL
578 B
Dart
import 'package:cw_core/exceptions.dart';
|
|
|
|
class ZanoWalletException implements Exception {
|
|
final String message;
|
|
|
|
ZanoWalletException(this.message);
|
|
@override
|
|
String toString() => '${this.runtimeType} (message: $message)';
|
|
}
|
|
|
|
class RestoreFromSeedsException extends RestoreFromSeedException {
|
|
RestoreFromSeedsException(String message) : super(message);
|
|
}
|
|
|
|
class TransferException extends ZanoWalletException {
|
|
TransferException(String message): super(message);
|
|
}
|
|
|
|
class ZanoWalletBusyException extends ZanoWalletException {
|
|
ZanoWalletBusyException(): super('');
|
|
} |