2024-04-03 15:14:53 +00:00
|
|
|
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('');
|
2024-04-03 15:14:53 +00:00
|
|
|
}
|