MCPcopy
hub / github.com/coder/mux / onError

Function onError

src/node/orpc/server.test.ts:34–37  ·  view source on GitHub ↗
(error: Error)

Source from the content-addressed store, hash-verified

32 };
33
34 const onError = (error: Error) => {
35 cleanup();
36 reject(error);
37 };
38
39 const onClose = () => {
40 cleanup();

Callers 2

loadServicesFunction · 0.90
createOrpcServerFunction · 0.90

Calls 3

rejectFunction · 0.85
cleanupFunction · 0.70
resolveFunction · 0.50

Tested by

no test coverage detected