mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-12-22 19:49:22 +00:00
19 lines
No EOL
528 B
Dart
19 lines
No EOL
528 B
Dart
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);
|
|
}
|
|
|
|
class ZanoWalletBusyException extends ZanoWalletException {
|
|
ZanoWalletBusyException(): super('');
|
|
} |