fallow_report_protocol/exit_code.rs
1//! The process exit codes of the report contract.
2//!
3//! Some commands define more exit codes. These three have the same meaning in
4//! every fallow tool.
5
6/// No enforced gate failed.
7pub const EXIT_OK: u8 = 0;
8
9/// An enforced gate failed. The run found problems, the tool did not fail.
10pub const EXIT_GATE_FAILED: u8 = 1;
11
12/// The input was not valid, or the tool could not complete the run.
13pub const EXIT_INVALID_INPUT: u8 = 2;