view rust/rhg/src/exitcode.rs @ 46244:fb69b51b4daa

ci: avoid a global before_script definition This removes the implicit assumption that all jobs are test runs. Differential Revision: https://phab.mercurial-scm.org/D9723
author Dan Villiom Podlaski Christiansen <danchr@gmail.com>
date Mon, 11 Jan 2021 15:16:36 +0100
parents 513b3ef277a3
children ca3f73cc3cf4
line wrap: on
line source

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;