fix: Prefer reusing AppBaseException instead of redefining the exception contract CacheException and RemoteException
This commit is contained in:
@@ -207,7 +207,7 @@ class FCMRepositoryImpl extends FCMRepository {
|
||||
if (changesResponse.created?.isNotEmpty == true) {
|
||||
return _validateMaximumNewEmailsRetrieved(changesResponse.created!);
|
||||
} else {
|
||||
throw NotFoundNewReceiveEmailException();
|
||||
throw const NotFoundNewReceiveEmailException();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user