MCPcopy Create free account
hub / github.com/ecomfe/tempad-dev / createCodedError

Function createCodedError

packages/mcp-server/src/hub.ts:218–222  ·  view source on GitHub ↗
(code: TempadMcpErrorCode, message: string)

Source from the content-addressed store, hash-verified

216
217 try {
218 socket = connect(SOCK_PATH)
219 socket.once('connect', () => finish(() => resolve('live')))
220 socket.once('error', fail)
221 } catch (error) {
222 fail(error as NodeJS.ErrnoException)
223 }
224 })
225}

Callers 1

handlerFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected