MCPcopy
hub / github.com/lissy93/web-check / errorResponse

Function errorResponse

api/ports.js:94–96  ·  view source on GitHub ↗
(message, statusCode = 444)

Source from the content-addressed store, hash-verified

92};
93
94const errorResponse = (message, statusCode = 444) => {
95 return { error: message };
96};
97
98export const handler = middleware(portsHandler);
99export default handler;

Callers 1

portsHandlerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected