mirror of
https://github.com/Livinglist/Hacki.git
synced 2025-08-06 18:24:42 +08:00
15 lines
277 B
Dart
15 lines
277 B
Dart
class ServiceException implements Exception {
|
|
ServiceException([this.message]);
|
|
|
|
final String? message;
|
|
|
|
@override
|
|
String toString() {
|
|
String result = 'ServiceException';
|
|
if (message != null) {
|
|
result = '$result: $message';
|
|
}
|
|
return result;
|
|
}
|
|
}
|