equal
deleted
inserted
replaced
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 |