UNPKG

undici-retry

Version:

Library for handling retry logic with undici HTTP client

13 lines (12 loc) 363 B
import { ErrorDetails } from './commonTypes'; export type RequestErrorParams = { message: string; error: Error; requestLabel?: string; }; export declare class InternalRequestError extends Error { readonly details?: ErrorDetails; readonly error: Error; readonly isInternalRequestError = true; constructor(params: RequestErrorParams); }