diff -r dd3050227a84 -r 513b3ef277a3 rust/rhg/src/exitcode.rs --- a/rust/rhg/src/exitcode.rs Mon Jul 06 22:02:50 2020 -0400 +++ b/rust/rhg/src/exitcode.rs Fri Jun 05 09:01:35 2020 +0200 @@ -1,4 +1,10 @@ pub type ExitCode = i32; +/// Successful exit +pub const OK: ExitCode = 0; + +/// Generic abort +pub const ABORT: ExitCode = 255; + /// Command not implemented by rhg pub const UNIMPLEMENTED_COMMAND: ExitCode = 252;