exitcode.rs
16 lines
| 397 B
| application/rls-services+xml
|
RustLexer
Antoine Cezar
|
r45503 | pub type ExitCode = i32; | ||
Antoine Cezar
|
r45592 | /// Successful exit | ||
pub const OK: ExitCode = 0; | ||||
/// Generic abort | ||||
pub const ABORT: ExitCode = 255; | ||||
Pulkit Goyal
|
r47576 | // Abort when there is a config related error | ||
pub const CONFIG_ERROR_ABORT: ExitCode = 30; | ||||
Simon Sapin
|
r47478 | /// Generic something completed but did not succeed | ||
pub const UNSUCCESSFUL: ExitCode = 1; | ||||
Simon Sapin
|
r47174 | /// Command or feature not implemented by rhg | ||
pub const UNIMPLEMENTED: ExitCode = 252; | ||||