pub const EXIT_TASK_FAILURE: i32 = 1;Expand description
Exit code reported when at least one task failed, surfaced a pipeline error, or a runtime invariant was violated, AND the run was not cancelled by an OS signal.
The spec (EXEC-021) leaves the specific number for the
task-failure class to implementation v1; 1 is the natural
POSIX “something went wrong” sentinel. The class is what is
load-bearing, not the number.