fix(sentry): resolve minified exception types on web release

This commit is contained in:
dab246
2026-03-03 11:43:45 +07:00
committed by Dat H. Pham
parent 2e8a11e7eb
commit 437c46f5ff
53 changed files with 133 additions and 109 deletions
@@ -28,7 +28,7 @@ class QuotasAPI {
if (getQuotaResponse?.list.isNotEmpty == true) {
return getQuotaResponse!.list;
} else {
throw NotFoundQuotasException();
throw const NotFoundQuotasException();
}
}
}
@@ -1,14 +1,14 @@
import 'package:core/domain/exceptions/app_base_exception.dart';
class NotFoundQuotasException extends AppBaseException {
NotFoundQuotasException([super.message]);
const NotFoundQuotasException([super.message]);
@override
String get exceptionName => 'NotFoundQuotasException';
}
class QuotasNotSupportedException extends AppBaseException {
QuotasNotSupportedException([super.message]);
const QuotasNotSupportedException([super.message]);
@override
String get exceptionName => 'QuotasNotSupportedException';