isTimeoutError
isTimeoutError(
error):boolean
Defined in: src/AbortError.ts:40
True if error is a timeout: a TimeoutError from abortAfter, timeout() or AbortSignal.timeout,
also when wrapped: Node core APIs (fs/promises, timers/promises, streams, events.once) reject with an
AbortError whose cause is the signal’s reason.
Parameters
Section titled “Parameters”unknown
Returns
Section titled “Returns”boolean