Skip to main content

Exit Codes

CodeMeaning
0All files are valid
1One or more validation errors (syntax or schema)
2Runtime or configuration error (invalid flags, unreadable files, bad .cfv.toml)

Use exit code 1 as a CI gate. Exit code 2 indicates a problem with the invocation itself — the validator couldn't run as intended.