MCPcopy Create free account
hub / github.com/bearlyai/OpenADE / runtimeError

Function runtimeError

projects/runtime-protocol/src/protocol.ts:670–672  ·  view source on GitHub ↗
(code: string, message: string, data?: unknown)

Source from the content-addressed store, hash-verified

668}
669
670export function runtimeError(code: string, message: string, data?: unknown): RuntimeError {
671 return data === undefined ? { code, message } : { code, message, data }
672}

Callers 4

handleMessageMethod · 0.90
handleRequestMethod · 0.90
invokeHandlerMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected