Skip to content

You are currently viewing documentation for0.1.0-alpha.4

Saved documentation for 0.1.0-alpha.4 (npm) / 0.1.0a3 (PyPI). Interactive tools use the current release. View latest documentation.

Errors

Handle the failure you received

Use this page when setup or a guarded call fails. AgindowSetupError means invalid deterministic setup before execution; correct its options. Your original HTTP/network/application exception still belongs to the original client. AgindowDriftError means policy halted the call: inspect phase, verdict, hint and retained outcome. A request halt precedes dispatch; a response halt can follow a completed write. Internal engine faults instead bypass and preserve the original call. Remote HTTP and MCP errors use their own transport contracts.

Runtime contract error taxonomy

These names describe the guard runtime specification. The implemented execution host has its own concrete response table, including admission, authentication and upstream failures. MCP uses its transport errors instead of the guard envelope. Do not infer an implemented behavior from a specification name alone.

HTTPerrorMeaning
400invalid_requestBad envelope or missing write idempotency key.
401unauthorizedInvalid credential.
403plan_limitPlan ceiling.
409drift_blockedWrite blocked by known policy.
409drift_haltedStrict policy halt.
422contract_violationNo known contract.
429rate_limitedGuard-side throttle.
5xxinternalAvailability failure; explicit client fallback rules apply.

Five decisions

Engine fault bypassed is different from policy blocked. A fail-open read can be degraded; a successful selective replacement is repaired.

DecisionMeaning
okNo actionable drift reported; this alone does not prove protection was configured.
repairedA verified selective patch was applied; bytes may change and byte_identical is false.
degradedPolicy permits the original read with a loud drift warning.
bypassedInspection unavailable or skipped; original outcome preserved.
blockedPolicy refusal; distinguish request refusal from a completed response halt.

SDK and administration errors

AgindowSetupError is deterministic misuse before a call. AgindowDriftError carries policy feedback and preserves original exceptions as cause where available. A response halt may retain a completed outcome; inspect it before taking further action. Dashboard session, permissions, retention and validation failures belong to their own administrative contracts, not this runtime taxonomy.

Reference and next steps

Continue with the reference for this task.