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 NotFoundInboxMailboxException implements Exception {}
|
||||
class NotFoundInboxMailboxException extends AppBaseException {
|
||||
NotFoundInboxMailboxException([super.message]);
|
||||
|
||||
class NotFoundMailboxException implements Exception {}
|
||||
@override
|
||||
String get exceptionName => 'NotFoundInboxMailboxException';
|
||||
}
|
||||
|
||||
class NotFoundClearMailboxResponseException implements Exception {}
|
||||
class NotFoundMailboxException extends AppBaseException {
|
||||
NotFoundMailboxException([super.message]);
|
||||
|
||||
class CannotMoveAllEmailException implements Exception {}
|
||||
@override
|
||||
String get exceptionName => 'NotFoundMailboxException';
|
||||
}
|
||||
|
||||
class NotFoundClearMailboxResponseException extends AppBaseException {
|
||||
NotFoundClearMailboxResponseException([super.message]);
|
||||
|
||||
@override
|
||||
String get exceptionName => 'NotFoundClearMailboxResponseException';
|
||||
}
|
||||
|
||||
class CannotMoveAllEmailException extends AppBaseException {
|
||||
CannotMoveAllEmailException([super.message]);
|
||||
|
||||
@override
|
||||
String get exceptionName => 'CannotMoveAllEmailException';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user