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