@tikoci/centrs
    Preparing search index...

    Function explainExitCode

    • Exit 2 when the verdict meets the threshold, 0 otherwise — the check pattern (commands/explain/README.md → Surface).

      Note what --fail-on error does NOT fail on: an ambiguous/unknown statement is a warning by construction, so a script that is merely unreadable without a schema still exits 0. That is the whole reason the two verdicts are separate — a resolution is not a severity.

      Parameters

      Returns 0 | 2