Mercurial > libervia-backend
comparison frontends/src/jp/constants.py @ 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 | bf998d8626d9 |
children | 489efbda377c |
comparison
equal
deleted
inserted
replaced
2267:ed28798fd76c | 2268:a29d1351bc83 |
---|---|
44 EXIT_ERROR = 1 # generic error, when nothing else match | 44 EXIT_ERROR = 1 # generic error, when nothing else match |
45 EXIT_BAD_ARG = 2 # arguments given by user are bad | 45 EXIT_BAD_ARG = 2 # arguments given by user are bad |
46 EXIT_BRIDGE_ERROR = 3 # can't connect to bridge | 46 EXIT_BRIDGE_ERROR = 3 # can't connect to bridge |
47 EXIT_BRIDGE_ERRBACK = 4 # something went wrong when calling a bridge method | 47 EXIT_BRIDGE_ERRBACK = 4 # something went wrong when calling a bridge method |
48 EXIT_NOT_FOUND = 16 # an item required by a command was not found | 48 EXIT_NOT_FOUND = 16 # an item required by a command was not found |
49 EXIT_DATA_ERROR = 17 # data needed for a command is invalid | |
49 EXIT_FILE_NOT_EXE = 126 # a file to be executed was found, but it was not an executable utility (cf. man 1 exit) | 50 EXIT_FILE_NOT_EXE = 126 # a file to be executed was found, but it was not an executable utility (cf. man 1 exit) |
50 EXIT_CMD_NOT_FOUND = 127 # a utility to be executed was not found (cf. man 1 exit) | 51 EXIT_CMD_NOT_FOUND = 127 # a utility to be executed was not found (cf. man 1 exit) |
51 EXIT_SIGNAL_INT = 128 # a command was interrupted by a signal (cf. man 1 exit) | 52 EXIT_SIGNAL_INT = 128 # a command was interrupted by a signal (cf. man 1 exit) |