pub fn emit(code: u32, reason: &str)Expand description
Emits the single-line diagnostic record with an explicit exit code and
a reason string. Use this from the shim binaries (gitway-keygen,
gitway-add) where the reason codes are selected from a local static
table; use emit_for when a GitwayError is already in hand.