undici-retry
Version:
Library for handling retry logic with undici HTTP client
18 lines • 546 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.InternalRequestError = void 0;
class InternalRequestError extends Error {
details;
error;
isInternalRequestError = true;
constructor(params) {
super(params.message);
this.name = 'InternalRequestError';
this.details = {
requestLabel: params.requestLabel,
};
this.error = params.error;
}
}
exports.InternalRequestError = InternalRequestError;
//# sourceMappingURL=InternalRequestError.js.map