Mercurial > libervia-backend
diff frontends/src/jp/constants.py @ 2112:877d0a2d0d86
jp (constants): added exit code for error on bridge method call
author | Goffi <goffi@goffi.org> |
---|---|
date | Thu, 05 Jan 2017 20:37:01 +0100 |
parents | e0066920a661 |
children | 8f96c242fa89 |
line wrap: on
line diff
--- a/frontends/src/jp/constants.py Thu Jan 05 20:29:19 2017 +0100 +++ b/frontends/src/jp/constants.py Thu Jan 05 20:37:01 2017 +0100 @@ -35,6 +35,7 @@ EXIT_ERROR = 1 # generic error, when nothing else match EXIT_BAD_ARG = 2 # arguments given by user are bad EXIT_BRIDGE_ERROR = 3 # can't connect to bridge + EXIT_BRIDGE_ERRBACK = 4 # something went wrong when calling a bridge method EXIT_NOT_FOUND = 16 # an item required by a command was not found EXIT_FILE_NOT_EXE = 126 # a file to be executed was found, but it was not an executable utility (cf. man 1 exit) EXIT_CMD_NOT_FOUND = 127 # a utility to be executed was not found (cf. man 1 exit)