MCPcopy Create free account
hub / github.com/MoonshotAI/kimi-code / errEnvelope

Function errEnvelope

packages/protocol/src/envelope.ts:24–26  ·  view source on GitHub ↗
(code: number, msg: string, requestId: string)

Source from the content-addressed store, hash-verified

22}
23
24export function errEnvelope(code: number, msg: string, requestId: string): Envelope<null> {
25 return { code, msg, data: null, request_id: requestId };
26}

Callers 15

envelope.test.tsFile · 0.90
installErrorHandlerFunction · 0.90
createAuthHookFunction · 0.90
onRequestFunction · 0.90
registerSkillsRoutesFunction · 0.90
sendMappedErrorFunction · 0.90
registerPromptsRoutesFunction · 0.90
sendMappedErrorFunction · 0.90
registerTerminalsRoutesFunction · 0.90
sendMappedErrorFunction · 0.90
sendMappedErrorFunction · 0.90
registerTasksRoutesFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected