Skip to content

Errors

Reference for every error class in the Kumiko framework.

ErrorTypeWhen it fires
delete_restrictedConflictErrorCascade-delete guard refused because dependent rows exist
feature_disabledFeatureDisabledErrorHandler’s owning feature is globally disabled
field_access_deniedAccessDeniedErrorDispatcher’s field-level write check blocked a field
invalid_transitionUnprocessableErrorGuardTransition rejected a state-machine transition
stale_stateConflictErrorAtomic UPDATE lost the race (another writer moved the row)

Reasons the agent runtime surfaces, tool dispatch, the permission gate and the risk gate, rather than a handler’s own domain logic. See The Assistant.

ErrorTypeWhen it fires
agent.high_risk_no_alwaysUnprocessableErrorAn always permission rule was requested for an agent: { risk: "high" } handler; use per-call approval instead
agent.iteration_limitUnprocessableErrorThe agent loop hit its maximum round count before producing a final answer
agent.tool_not_allowedUnprocessableErrorThe model requested a tool outside the run’s catalog, or a permission rule names a handler the caller cannot see