stack_wallet/lib/exceptions/sw_exception.dart

12 lines
220 B
Dart
Raw Normal View History

2023-01-20 18:25:32 +00:00
// 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;
}