MCPcopy Create free account
hub / github.com/ScriptedAlchemy/tracedecay / error

Method error

src/mcp/transport.rs:64–66  ·  view source on GitHub ↗

Creates an error JSON-RPC response.

(id: serde_json::Value, code: ErrorCode, message: String)

Source from the content-addressed store, hash-verified

62
63 /// Creates an error JSON-RPC response.
64 pub fn error(id: serde_json::Value, code: ErrorCode, message: String) -> Self {
65 Self::error_with_data(id, code, message, None)
66 }
67
68 /// Creates an error JSON-RPC response with optional structured data.
69 pub fn error_with_data(

Callers 7

mainFunction · 0.45
smoke.mjsFile · 0.45
errorFunction · 0.45
run-unit-tests.mjsFile · 0.45
build.mjsFile · 0.45
recompileHolographicFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected