Skip to main content

exit_for_code

Function exit_for_code 

Source
pub fn exit_for_code(code: i16) -> i32
Expand description

The exit code that one broker error code becomes.

Three codes get their own number because a runbook acts on them differently. An action that needs an approval sends the operator for a second person. A signature failure sends them to their key material. Every other refusal is a refusal.