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,8 +1,29 @@
import 'package:core/domain/exceptions/app_base_exception.dart';
class NotFoundSessionException implements Exception {}
class NotFoundSessionException extends AppBaseException {
NotFoundSessionException([super.message]);
class NotFoundAccountIdException implements Exception {}
@override
String get exceptionName => 'NotFoundSessionException';
}
class NotFoundContextException implements Exception {}
class NotFoundAccountIdException extends AppBaseException {
NotFoundAccountIdException([super.message]);
class ParametersIsNullException implements Exception {}
@override
String get exceptionName => 'NotFoundAccountIdException';
}
class NotFoundContextException extends AppBaseException {
NotFoundContextException([super.message]);
@override
String get exceptionName => 'NotFoundContextException';
}
class ParametersIsNullException extends AppBaseException {
ParametersIsNullException([super.message]);
@override
String get exceptionName => 'ParametersIsNullException';
}