MCPcopy Create free account
hub / github.com/code-with-antonio/nightcode / onError

Function onError

packages/server/src/routes/chat.ts:175–177  ·  view source on GitHub ↗
(error)

Source from the content-addressed store, hash-verified

173 }
174 },
175 onError(error) {
176 return error instanceof Error ? error.message : String(error);
177 },
178 });
179 },
180 );

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected