changeset 2268:a29d1351bc83

jp (constants): added exit code for data error.
author Goffi <goffi@goffi.org>
date Tue, 27 Jun 2017 16:14:58 +0200
parents ed28798fd76c
children 606ff34d30f2
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	Sun Jun 25 09:43:04 2017 +0200
+++ b/frontends/src/jp/constants.py	Tue Jun 27 16:14:58 2017 +0200
@@ -46,6 +46,7 @@
     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_DATA_ERROR = 17 # data needed for a command is invalid
     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)
     EXIT_SIGNAL_INT = 128 # a command was interrupted by a signal (cf. man 1 exit)