stack_wallet/lib/exceptions/sw_exception.dart
2023-01-20 12:25:32 -06:00

11 lines
220 B
Dart

// generic stack wallet exception which all other custom exceptions should
// extend from
class SWException with Exception {
SWException(this.message);
final String message;
@override
toString() => message;
}