MCPcopy Create free account
hub / github.com/NVIDIA/OpenShell / error_payload

Function error_payload

crates/openshell-supervisor-network/src/policy_local.rs:1238–1243  ·  view source on GitHub ↗
(error: &str, detail: String)

Source from the content-addressed store, hash-verified

1236}
1237
1238fn error_payload(error: &str, detail: String) -> serde_json::Value {
1239 serde_json::json!({
1240 "error": error,
1241 "detail": detail
1242 })
1243}
1244
1245#[derive(Debug, Deserialize)]
1246struct ProposalRequest {

Callers 4

submit_proposalFunction · 0.85
chunk_not_found_payloadFunction · 0.85
open_lookup_sessionFunction · 0.85
fetch_chunkFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected