diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/rabbit_cli.hrl | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/rabbit_cli.hrl b/include/rabbit_cli.hrl index 737bb4ea3d..e49adf5b5a 100644 --- a/include/rabbit_cli.hrl +++ b/include/rabbit_cli.hrl @@ -48,3 +48,13 @@ -define(ONLINE_DEF, {?ONLINE_OPT, flag}). -define(RPC_TIMEOUT, infinity). + +%% Subset of standartized exit codes from sysexits.h +-define(EX_OK , 0). +-define(EX_USAGE , 64). % Bad command-line arguments. +-define(EX_DATAERR , 65). % Wrong data in command-line arguments. +-define(EX_NOUSER , 67). % The user specified does not exist. +-define(EX_UNAVAILABLE, 69). % Could not connect to the target node. +-define(EX_SOFTWARE , 70). % Failed to execute command. +-define(EX_TEMPFAIL , 75). % Temporary error (e.g. something has timed out). +-define(EX_CONFIG , 78). % Misconfiguration detected |
