Skip to content

Commit

Permalink
Refactor errors localtion - part 2
Browse files Browse the repository at this point in the history
  • Loading branch information
pkukielka committed Jan 23, 2025
1 parent 12f379f commit 1daa94c
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
14 changes: 13 additions & 1 deletion lib/shared/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -241,14 +241,26 @@ export {
} from './sourcegraph-api/environments'
export {
AbortError,
AuthConfigError,
AuthError,
AvailabilityError,
EnterpriseUserDotComError,
ExternalAuthProviderError,
InvalidAccessTokenError,
NeedsAuthChallengeError,
NetworkError,
RateLimitError,
TimeoutError,
TracedError,
isAbortError,
isAbortErrorOrSocketHangUp,
isContextWindowLimitError,
isAuthError,
isAvailabilityError,
isContextWindowLimitError,
isEnterpriseUserDotComError,
isExternalProviderAuthError,
isInvalidAccessTokenError,
isNeedsAuthChallengeError,
isNetworkError,
isNetworkLikeError,
isRateLimitError,
Expand Down
2 changes: 1 addition & 1 deletion vscode/src/completions/default-client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import {
type CompletionResponseWithMetaData,
CompletionStopReason,
FeatureFlag,
NeedsAuthChallengeError,
NetworkError,
RateLimitError,
type SerializedCodeCompletionsParams,
Expand Down Expand Up @@ -38,6 +37,7 @@ import {
} from '@sourcegraph/cody-shared'

import { getClientIdentificationHeaders } from '@sourcegraph/cody-shared'
import { NeedsAuthChallengeError } from '@sourcegraph/cody-shared/src/sourcegraph-api/errors'
import { autocompleteLifecycleOutputChannelLogger } from './output-channel-logger'

/**
Expand Down

0 comments on commit 1daa94c

Please sign in to comment.