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

Function isInternalWarning

src/utils/warningHandler.ts:43–46  ·  view source on GitHub ↗
(warning: Error)

Source from the content-addressed store, hash-verified

41]
42
43function isInternalWarning(warning: Error): boolean {
44 const warningStr = `${warning.name}: ${warning.message}`
45 return INTERNAL_WARNINGS.some(pattern => pattern.test(warningStr))
46}
47
48// Store reference to our warning handler so we can detect if it's already installed
49let warningHandler: ((warning: Error) => void) | null = null

Callers 1

initializeWarningHandlerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected