Skip to content

Error codes

An error record has error and from for people, and code, path, got, want, fix, class and near for tools. class is fixable (an edit to the data fixes it) or authority (no edit by this author can). The codes below are read from the engine source when the docs are written.

CodeMeaning
argan element asks for an arg that has no answer
atat holds a value that is not a predicate
bare-functionan element is a function without named args (x: …): wrap it as { ... }:
checka field value fails its type
cyclean instance appears twice on its own scope path: spawns loops
errora message from an aspect’s errors key, a failed of, or a component
mergemerge: two different leaves at one path
missinga required field has no value
missing-parama stored query is asked without a required parameter
oneone: 0 or 2+ elements
outside-granta staged change gives an element outside its grant
programa change program op is not valid
refa field wants an instance ref and got something else
rejecteda staged change was rejected before (its sha is in rejected)
two-answersone declaration leaf has two different values
unknown-fieldan instance sets a field its kind does not declare
unknown-parama stored query is asked with a parameter it does not take
Contribute Community Sponsor