Skip to main content

ENGINE_FAILURE_EXIT_CODE

Constant ENGINE_FAILURE_EXIT_CODE 

Source
pub const ENGINE_FAILURE_EXIT_CODE: i32 = 2;
Expand description

What: Exit code for a usage, configuration or wrapper failure that kept Git from running. i32 is a signed 32-bit integer, the type of process exit codes. Why: The wrapper’s contract reserves 2 for these, distinct from 1 for policy findings.

In TS you’d write (pseudocode):

const ENGINE_FAILURE_EXIT_CODE = 2;