stack_wallet/lib/exceptions/sw_exception.dart

23 lines
455 B
Dart
Raw Normal View History

/*
* This file is part of Stack Wallet.
*
* Copyright (c) 2023 Cypher Stack
* All Rights Reserved.
* The code is distributed under GPLv3 license, see LICENSE file for details.
* Generated by Cypher Stack on 2023-05-26
*
*/
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;
}