proxy-connection
Version:
Proxy client with automatic connection management, health checking, and fetch-like API
19 lines • 674 B
TypeScript
import { ErrorCode, ConfigKey } from '../types.js';
export declare const errorCodes: {
NO_ALIVE_PROXIES: string;
NO_PROXIES: string;
REQUEST_FAILED: string;
REQUEST_TIMEOUT: string;
REQUEST_BODY_ERROR: string;
UNKNOWN_ERROR: string;
};
export declare const errorMessages: {
[errorCodes.NO_ALIVE_PROXIES]: string;
[errorCodes.NO_PROXIES]: string;
[errorCodes.REQUEST_FAILED]: string;
[errorCodes.REQUEST_TIMEOUT]: string;
[errorCodes.REQUEST_BODY_ERROR]: string;
[errorCodes.UNKNOWN_ERROR]: string;
};
export declare const errorCodesConfigMapping: Partial<Record<ErrorCode, ConfigKey>>;
//# sourceMappingURL=errorCodes.d.ts.map