Skip to main content

JSONRPC_WORKSPACE_INCOMPATIBLE_GRAPH

Constant JSONRPC_WORKSPACE_INCOMPATIBLE_GRAPH 

Source
pub const JSONRPC_WORKSPACE_INCOMPATIBLE_GRAPH: i32 = -32005;
Expand description

JSON-RPC error code: the on-disk graph snapshot or manifest cannot be loaded safely by this binary. Distinct from WorkspaceBuildFailed because it represents a path-policy / compatibility verdict (unknown plugin ids, unsupported snapshot format) rather than a transient build failure — clients react differently (rebuild vs. upgrade vs. retry).

SGA02 / SGA04 acceptance: “API carries path-policy errors distinctly from load, stale, eviction, and corruption errors” — adapters must not collapse this taxonomy class into the generic build-failed code.