mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-06-28 12:29:51 +00:00
- Fix error popup showing multiple times (#1987)
- Improve/generalize error handling
This commit is contained in:
parent
f90b171d9b
commit
1c07048808
4 changed files with 79 additions and 30 deletions
|
@ -1,3 +1,5 @@
|
|||
import 'package:cw_core/exceptions.dart';
|
||||
|
||||
class ZanoWalletException implements Exception {
|
||||
final String message;
|
||||
|
||||
|
@ -6,7 +8,7 @@ class ZanoWalletException implements Exception {
|
|||
String toString() => '${this.runtimeType} (message: $message)';
|
||||
}
|
||||
|
||||
class RestoreFromSeedsException extends ZanoWalletException {
|
||||
class RestoreFromSeedsException extends RestoreFromSeedException {
|
||||
RestoreFromSeedsException(String message) : super(message);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue