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,9 +1,15 @@
class LabelKeywordIsNull implements Exception {
import 'package:core/domain/exceptions/app_base_exception.dart';
class LabelKeywordIsNull extends AppBaseException {
LabelKeywordIsNull([super.message = 'Label keyword is null']);
@override
String toString() => 'Label keyword is null';
String get exceptionName => 'LabelKeywordIsNull';
}
class LabelIdIsNull implements Exception {
class LabelIdIsNull extends AppBaseException {
LabelIdIsNull([super.message = 'Label id is null']);
@override
String toString() => 'Label id is null';
String get exceptionName => 'LabelIdIsNull';
}