refactor(sentry): standardize exceptions to prevent Sentry minification
This commit is contained in:
@@ -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';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user