stack_wallet/lib/exceptions/sw_exception.dart

12 lines
226 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
2023-05-30 16:41:27 +00:00
class SWException implements Exception {
2023-01-20 18:25:32 +00:00
SWException(this.message);
final String message;
@override
toString() => message;
}