refactor(sentry): standardize exceptions to prevent Sentry minification

This commit is contained in:
dab246
2026-02-24 15:40:07 +07:00
committed by Dat H. Pham
parent 296548a781
commit 2e8a11e7eb
75 changed files with 1128 additions and 309 deletions
@@ -1,5 +1,22 @@
class NotFoundServerSettingsException implements Exception {}
import 'package:core/domain/exceptions/app_base_exception.dart';
class NotFoundSettingOptionException implements Exception {}
class NotFoundServerSettingsException extends AppBaseException {
NotFoundServerSettingsException([super.message]);
class CanNotUpdateServerSettingsException implements Exception {}
@override
String get exceptionName => 'NotFoundServerSettingsException';
}
class NotFoundSettingOptionException extends AppBaseException {
NotFoundSettingOptionException([super.message]);
@override
String get exceptionName => 'NotFoundSettingOptionException';
}
class CanNotUpdateServerSettingsException extends AppBaseException {
CanNotUpdateServerSettingsException([super.message]);
@override
String get exceptionName => 'CanNotUpdateServerSettingsException';
}