mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-01-07 03:19:31 +00:00
15 lines
425 B
Dart
15 lines
425 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);
|
||
|
}
|