Mercurial > public > mercurial-scm > hg-stable
comparison rust/rhg/src/exitcode.rs @ 46513:ca3f73cc3cf4
rhg: Simplify CommandError based on its use
Differential Revision: https://phab.mercurial-scm.org/D9905
author | Simon Sapin <simon.sapin@octobus.net> |
---|---|
date | Thu, 28 Jan 2021 19:13:55 +0100 |
parents | 513b3ef277a3 |
children | b1f2c2b336ec |
comparison
equal
deleted
inserted
replaced
46512:6c778d20c8c2 | 46513:ca3f73cc3cf4 |
---|---|
4 pub const OK: ExitCode = 0; | 4 pub const OK: ExitCode = 0; |
5 | 5 |
6 /// Generic abort | 6 /// Generic abort |
7 pub const ABORT: ExitCode = 255; | 7 pub const ABORT: ExitCode = 255; |
8 | 8 |
9 /// Command not implemented by rhg | 9 /// Command or feature not implemented by rhg |
10 pub const UNIMPLEMENTED_COMMAND: ExitCode = 252; | 10 pub const UNIMPLEMENTED: ExitCode = 252; |