Skip to main content

Function: isNonRetryableError()

isNonRetryableError(errorMessage): boolean

Defined in: packages/core/src/utils/retry.ts:173

Detect if an error is a non-retryable authentication/authorization error

Parameters

errorMessage

string

The error message to check

Returns

boolean

true if the error should not be retried