Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
236
export
function
isAuthenticationErrorText(message: string): boolean {
237
return
message.replace(/\bauthorit\w*/g,
''
).includes(
'auth'
);
238
}
Callers
3
classifyProviderFacts
Function · 0.90
generalizedErrorMessage
Function · 0.85
generalizedErrorMessageChinese
Function · 0.85
Calls
1
replace
Method · 0.80
Tested by
no test coverage detected