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

Function isAwsCredentialsProviderError

src/utils/aws.ts:20–22  ·  view source on GitHub ↗
(err: unknown)

Source from the content-addressed store, hash-verified

18}
19
20export function isAwsCredentialsProviderError(err: unknown) {
21 return (err as AwsError | undefined)?.name === 'CredentialsProviderError'
22}
23
24/** Typeguard to validate AWS STS assume-role output */
25export function isValidAwsStsOutput(obj: unknown): obj is AwsStsOutput {

Callers 1

isBedrockAuthErrorFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected