cake_wallet/cw_zano/lib/zano_wallet_exceptions.dart

19 lines
528 B
Dart
Raw Normal View History

class ZanoWalletException implements Exception {
final String message;
ZanoWalletException(this.message);
@override
String toString() => '${this.runtimeType} (message: $message)';
}
class RestoreFromKeysException extends ZanoWalletException {
RestoreFromKeysException(String message) : super(message);
}
class TransferException extends ZanoWalletException {
TransferException(String message): super(message);
2024-08-07 12:32:47 +00:00
}
class ZanoWalletBusyException extends ZanoWalletException {
ZanoWalletBusyException(): super('');
}