MCPcopy Index your code
hub / github.com/lingodotdev/lingo.dev / isAuthenticationError

Function isAuthenticationError

packages/cli/src/cli/utils/errors.ts:106–112  ·  view source on GitHub ↗
(
  error: any,
)

Source from the content-addressed store, hash-verified

104}
105
106export function isAuthenticationError(
107 error: any,
108): error is AuthenticationError {
109 return (
110 error instanceof AuthenticationError || error.errorType === "auth_error"
111 );
112}
113
114export function isValidationError(error: any): error is ValidationError {
115 return (

Callers 1

getCLIErrorTypeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected