Skip to content

Function: isTransientCode()

ts
function isTransientCode(code): boolean;

Defined in: src/core/errors/fromResponse.ts:52

Whether a transport failure is worth retrying. Broken TLS sessions (ERR_SSL_*) count.

Parameters

ParameterType
codestring | undefined

Returns

boolean