MCPcopy Index your code
hub / github.com/codeaashu/claude-code / isTransientError

Function isTransientError

src/commands/plugin/PluginSettings.tsx:196–198  ·  view source on GitHub ↗
(error: PluginError)

Source from the content-addressed store, hash-verified

194}
195const TRANSIENT_ERROR_TYPES = new Set(['git-auth-failed', 'git-timeout', 'network-error']);
196function isTransientError(error: PluginError): boolean {
197 return TRANSIENT_ERROR_TYPES.has(error.type);
198}
199
200/**
201 * Extract the plugin name from a PluginError, checking explicit fields first,

Callers 2

_temp7Function · 0.85
_temp6Function · 0.85

Calls 1

hasMethod · 0.45

Tested by

no test coverage detected