rust/rhg/src/exitcode.rs
author Pierre-Yves David <pierre-yves.david@octobus.net>
Fri, 02 Oct 2020 08:57:43 +0200
changeset 45621 646a676f5365
parent 45049 513b3ef277a3
child 46445 ca3f73cc3cf4
permissions -rw-r--r--
changing-files: fix docstring As pointed by Pulkit Goyal. Differential Revision: https://phab.mercurial-scm.org/D9143

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;