refactor(sentry): standardize exceptions to prevent Sentry minification
This commit is contained in:
@@ -1,9 +1,36 @@
|
||||
class CanNotFoundOIDCAuthority implements Exception {}
|
||||
import 'package:core/domain/exceptions/app_base_exception.dart';
|
||||
|
||||
class CanNotFoundOIDCLinks implements Exception {}
|
||||
class CanNotFoundOIDCAuthority extends AppBaseException {
|
||||
CanNotFoundOIDCAuthority([super.message]);
|
||||
|
||||
class CanNotFindToken implements Exception {}
|
||||
@override
|
||||
String get exceptionName => 'CanNotFoundOIDCAuthority';
|
||||
}
|
||||
|
||||
class CanRetryOIDCException implements Exception {}
|
||||
class CanNotFoundOIDCLinks extends AppBaseException {
|
||||
CanNotFoundOIDCLinks([super.message]);
|
||||
|
||||
class NotFoundUserInfoEndpointException implements Exception {}
|
||||
@override
|
||||
String get exceptionName => 'CanNotFoundOIDCLinks';
|
||||
}
|
||||
|
||||
class CanNotFindToken extends AppBaseException {
|
||||
CanNotFindToken([super.message]);
|
||||
|
||||
@override
|
||||
String get exceptionName => 'CanNotFindToken';
|
||||
}
|
||||
|
||||
class CanRetryOIDCException extends AppBaseException {
|
||||
CanRetryOIDCException([super.message]);
|
||||
|
||||
@override
|
||||
String get exceptionName => 'CanRetryOIDCException';
|
||||
}
|
||||
|
||||
class NotFoundUserInfoEndpointException extends AppBaseException {
|
||||
NotFoundUserInfoEndpointException([super.message]);
|
||||
|
||||
@override
|
||||
String get exceptionName => 'NotFoundUserInfoEndpointException';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user