Skip to Content
SchemasError codes

Error codes

configorama config.yml --safe --error-format json
CodeMeaning
blocked_by_safe_modeSafe mode blocked executable or mutating behavior.
blocked_eval_escapeAn eval/if expression attempted a prototype-chain (constructor) escape.
file_root_forbiddenA file reference escaped the allowed roots.
missing_envAn environment variable was required and missing.
unknown_filterA filter name was not registered.
unresolved_variableA variable could not resolve and had no valid fallback.
missing_fileA required referenced file was absent.
invalid_variable_syntaxVariable syntax was invalid.
circular_dependencySelf references created a cycle.
invalid_viewAn unknown --view was passed to inspect.
unknown_commandThe first argument was not a recognized command.
no_input_fileNo config file was provided.
file_not_foundThe provided config file path does not exist.
path_not_foundA jq-style extraction path matched nothing in the resolved config.
configorama_errorGeneric, unclassified error.

The inspect and capabilities commands (and the hidden requirements/audit/graph aliases) emit JSON errors by default; pass --error-format human for the boxed form. Resolve mode is the reverse: boxed by default, --error-format json to opt in. configorama capabilities exposes the full code registry under errorCodes.

Use these codes in CI instead of scraping styled terminal output. See debug resolution and CLI reference.

Last updated on