# HG changeset patch # User Goffi # Date 1483645021 -3600 # Node ID 877d0a2d0d860a838e2448b764c2f863f050f227 # Parent 98672e35d2f54066309931d234abf6da83ca2dd2 jp (constants): added exit code for error on bridge method call diff -r 98672e35d2f5 -r 877d0a2d0d86 frontends/src/jp/constants.py --- 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)