MCPcopy Create free account
hub / github.com/apache/maka / isAuthenticationErrorText

Function isAuthenticationErrorText

packages/core/src/redaction.ts:236–238  ·  view source on GitHub ↗
(message: string)

Source from the content-addressed store, hash-verified

234}
235
236export function isAuthenticationErrorText(message: string): boolean {
237 return message.replace(/\bauthorit\w*/g, '').includes('auth');
238}

Callers 3

classifyProviderFactsFunction · 0.90
generalizedErrorMessageFunction · 0.85

Calls 1

replaceMethod · 0.80

Tested by

no test coverage detected