Skip to content

chore: remove unused determineErrorType and errorLabel - #254

Open
detail-app[bot] wants to merge 1 commit into
devfrom
detail/dead-code/chore-remove-unused-determineerrortype-and-errorla-4215bc
Open

chore: remove unused determineErrorType and errorLabel#254
detail-app[bot] wants to merge 1 commit into
devfrom
detail/dead-code/chore-remove-unused-determineerrortype-and-errorla-4215bc

Conversation

@detail-app

@detail-app detail-app Bot commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

Remove the public determineErrorType method, the errorLabel enum field, its constructor parameter, and the per-category string literals they carried from RetrievalErrorClassifier. The corresponding test-only assertions are dropped from RetrievalErrorClassifierTest.

determineErrorType had no production callers. Its only consumer was the logging helper logUserFriendlyErrorContext, which was removed in commit 64863bd, leaving the method and its labels reachable only from tests. isTransientVectorStoreError (used by RetrySupport) and its supporting private classification machinery are untouched, so retry behavior is unchanged.

History


Dead Code PRs can be configured here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant