fix: exception implementations

This commit is contained in:
julian 2023-05-30 10:41:27 -06:00
parent 774bfe517e
commit e81bba2357
2 changed files with 2 additions and 2 deletions

View file

@ -1,7 +1,7 @@
// generic stack wallet exception which all other custom exceptions should
// extend from
class SWException with Exception {
class SWException implements Exception {
SWException(this.message);
final String message;

View file

@ -15,7 +15,7 @@ import 'package:stackwallet/utilities/extensions/extensions.dart';
import 'package:stackwallet/utilities/logger.dart';
import 'package:tuple/tuple.dart';
class EthApiException with Exception {
class EthApiException implements Exception {
EthApiException(this.message);
final String message;