10 lines
366 B
TypeScript
10 lines
366 B
TypeScript
/**
|
|
* Get a human-readable error message for a network error
|
|
* @param error - The network error object
|
|
*/
|
|
export declare function humanNetworkError(error: NodeJS.ErrnoException): string;
|
|
/**
|
|
* Get a human-readable error message for a HTTP status code
|
|
*/
|
|
export declare function humanHttpStatusError(statusCode: number): string;
|
|
//# sourceMappingURL=net.d.ts.map
|