refactor(sentry): standardize exceptions to prevent Sentry minification
This commit is contained in:
@@ -1,4 +1,15 @@
|
||||
import 'package:core/domain/exceptions/app_base_exception.dart';
|
||||
|
||||
class NotFoundSendingEmailHiveObject implements Exception {}
|
||||
class NotFoundSendingEmailHiveObject extends AppBaseException {
|
||||
NotFoundSendingEmailHiveObject([super.message]);
|
||||
|
||||
class ExistSendingEmailHiveObject implements Exception {}
|
||||
@override
|
||||
String get exceptionName => 'NotFoundSendingEmailHiveObject';
|
||||
}
|
||||
|
||||
class ExistSendingEmailHiveObject extends AppBaseException {
|
||||
ExistSendingEmailHiveObject([super.message]);
|
||||
|
||||
@override
|
||||
String get exceptionName => 'ExistSendingEmailHiveObject';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user