UNPKG

undici-retry

Version:

Library for handling retry logic with undici HTTP client

16 lines 532 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.UndiciRetryRequestError = void 0; class UndiciRetryRequestError extends Error { requestLabel; error; isInternalRequestError = true; constructor(params) { super(params.message); this.name = 'InternalRequestError'; this.requestLabel = params.requestLabel; this.error = params.error; } } exports.UndiciRetryRequestError = UndiciRetryRequestError; //# sourceMappingURL=UndiciRetryRequestError.js.map