aboutsummaryrefslogtreecommitdiff
path: root/mingling/src/constants/exit_codes.rs
blob: 2359f4278548e09101c1cf26244c4c29df87fb0d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/// Exit code indicating successful command execution.
pub const EXIT_SUCCESS: i32 = 0;

/// Exit code for general errors.
pub const EXIT_GENERAL_ERR: i32 = 1;

/// Exit code for incorrect command usage (or invalid arguments).
pub const EXIT_USAGE_ERR: i32 = 2;

/// Exit code indicating permission denied (or the command is not executable).
pub const EXIT_PERM_DENIED: i32 = 126;

/// Exit code for command not found (or PATH error).
pub const EXIT_CMD_NOT_FOUND: i32 = 127;