comparison rust/hg-core/src/exit_codes.rs @ 49489:7c93e38a0bbd

rhg-status: add support for narrow clones
author Rapha?l Gom?s <rgomes@octobus.net>
date Mon, 25 Jul 2022 15:39:04 +0200
parents 006688e36e12
children
comparison
equal deleted inserted replaced
49488:9f14126cfc4c 49489:7c93e38a0bbd
6 /// Generic abort 6 /// Generic abort
7 pub const ABORT: ExitCode = 255; 7 pub const ABORT: ExitCode = 255;
8 8
9 // Abort when there is a config related error 9 // Abort when there is a config related error
10 pub const CONFIG_ERROR_ABORT: ExitCode = 30; 10 pub const CONFIG_ERROR_ABORT: ExitCode = 30;
11
12 /// Indicates that the operation might work if retried in a different state.
13 /// Examples: Unresolved merge conflicts, unfinished operations
14 pub const STATE_ERROR: ExitCode = 20;
11 15
12 // Abort when there is an error while parsing config 16 // Abort when there is an error while parsing config
13 pub const CONFIG_PARSE_ERROR_ABORT: ExitCode = 10; 17 pub const CONFIG_PARSE_ERROR_ABORT: ExitCode = 10;
14 18
15 /// Generic something completed but did not succeed 19 /// Generic something completed but did not succeed