Skip to main content

BLOCKED_EXIT_CODE

Constant BLOCKED_EXIT_CODE 

Source
pub const BLOCKED_EXIT_CODE: i32 = 1;
Expand description

What: Exit code when a pass ends with an error finding or a fixed-transform rejection. i32 is a signed 32-bit integer, the type of process exit codes. Why: Callers branch on 1 for “policy said no” and on 2 for “could not decide”.

In TS you’d write (pseudocode):

const BLOCKED_EXIT_CODE = 1;