MCPcopy Create free account
hub / github.com/chimurai/http-proxy-middleware / error-response-plugin.ts

File error-response-plugin.ts

src/plugins/default/error-response-plugin.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import type * as http from 'node:http';
2import type { Socket } from 'node:net';
3
4import { getStatusCode } from '../../status-code.js';

Callers

nothing calls this directly

Calls 5

definePluginFunction · 0.85
isResponseLikeFunction · 0.85
getStatusCodeFunction · 0.85
sanitizeFunction · 0.85
isSocketLikeFunction · 0.85

Tested by

no test coverage detected