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

Function isConfigError

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

Source from the content-addressed store, hash-verified

100
101// Type guard functions for robust error detection
102export function isConfigError(error: any): error is ConfigError {
103 return error instanceof ConfigError || error.errorType === "config_error";
104}
105
106export function isAuthenticationError(
107 error: any,

Callers 1

getCLIErrorTypeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected