undici-retry
Version:
Library for handling retry logic with undici HTTP client
7 lines (6 loc) • 501 B
TypeScript
import type { InternalRequestError } from './UndiciRetryRequestError';
import type { UnprocessableResponseError } from './UnprocessableResponseError';
import type { RequestResult } from './undiciRetry';
export declare function isInternalRequestError(entity: unknown): entity is InternalRequestError;
export declare function isRequestResult(entity: unknown): entity is RequestResult<unknown>;
export declare function isUnprocessableResponseError(entity: unknown): entity is UnprocessableResponseError;