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