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,4 +1,15 @@
import 'package:core/domain/exceptions/app_base_exception.dart';
class NotFoundLinagoraEcosystem implements Exception {}
class NotFoundLinagoraEcosystem extends AppBaseException {
NotFoundLinagoraEcosystem([super.message]);
class NotFoundPaywallUrl implements Exception {}
@override
String get exceptionName => 'NotFoundLinagoraEcosystem';
}
class NotFoundPaywallUrl extends AppBaseException {
NotFoundPaywallUrl([super.message]);
@override
String get exceptionName => 'NotFoundPaywallUrl';
}
@@ -1,6 +1,22 @@
import 'package:core/domain/exceptions/app_base_exception.dart';
class NotFoundLastTimeDismissedSpamReportException implements Exception {}
class NotFoundLastTimeDismissedSpamReportException extends AppBaseException {
NotFoundLastTimeDismissedSpamReportException([super.message]);
class NotFoundSpamMailboxCachedException implements Exception {}
@override
String get exceptionName => 'NotFoundLastTimeDismissedSpamReportException';
}
class NotFoundSpamMailboxException implements Exception {}
class NotFoundSpamMailboxCachedException extends AppBaseException {
NotFoundSpamMailboxCachedException([super.message]);
@override
String get exceptionName => 'NotFoundSpamMailboxCachedException';
}
class NotFoundSpamMailboxException extends AppBaseException {
NotFoundSpamMailboxException([super.message]);
@override
String get exceptionName => 'NotFoundSpamMailboxException';
}