changeset 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 98672e35d2f5
children 9c861d07b5b6
files frontends/src/jp/constants.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
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)