← Error codes catalogue · All exit codes
Exit code 1: Generic error¶
An unexpected error not covered by a specific code. Raised by
PrivaCIError, MaskingError, and StateError by default.
Common causes
- A bug in the engine or a plugin.
- An unhandled database or network condition mid-run.
privaci verifyfound at least one failing check (a masked column that did not change, passthrough drift, row-count mismatch, duplicate unique values, or an orphaned foreign key). Failing checks are printed to stderr; warnings alone do not trigger this exit.- A
when:CEL evaluation failed for a row (non-bool result, runtime error, or elapsed budget overrun). Errors omit cell values. ner_maskran on a non-empty cell but SpaCy /en_core_web_smwas unavailable (normally caught earlier at validate exit 3 or preflight exit 2).
Remediation
- Re-run with
--log-level debug. - Capture the full
Context/Cause/Remediationblock. - For
verifyfailures, fix the offending rule inmask-rules.yaml(see Verifying a run) and re-run the mask job. - File an issue with the redacted error and engine version (
privaci --version).