mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2025-02-02 03:06:29 +00:00
fix: exception implementations
This commit is contained in:
parent
774bfe517e
commit
e81bba2357
2 changed files with 2 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
||||||
// generic stack wallet exception which all other custom exceptions should
|
// generic stack wallet exception which all other custom exceptions should
|
||||||
// extend from
|
// extend from
|
||||||
|
|
||||||
class SWException with Exception {
|
class SWException implements Exception {
|
||||||
SWException(this.message);
|
SWException(this.message);
|
||||||
|
|
||||||
final String message;
|
final String message;
|
||||||
|
|
|
@ -15,7 +15,7 @@ import 'package:stackwallet/utilities/extensions/extensions.dart';
|
||||||
import 'package:stackwallet/utilities/logger.dart';
|
import 'package:stackwallet/utilities/logger.dart';
|
||||||
import 'package:tuple/tuple.dart';
|
import 'package:tuple/tuple.dart';
|
||||||
|
|
||||||
class EthApiException with Exception {
|
class EthApiException implements Exception {
|
||||||
EthApiException(this.message);
|
EthApiException(this.message);
|
||||||
|
|
||||||
final String message;
|
final String message;
|
||||||
|
|
Loading…
Reference in a new issue