Mercurial > libervia-backend
comparison 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 |
comparison
equal
deleted
inserted
replaced
2111:98672e35d2f5 | 2112:877d0a2d0d86 |
---|---|
33 # exit codes | 33 # exit codes |
34 EXIT_OK = 0 | 34 EXIT_OK = 0 |
35 EXIT_ERROR = 1 # generic error, when nothing else match | 35 EXIT_ERROR = 1 # generic error, when nothing else match |
36 EXIT_BAD_ARG = 2 # arguments given by user are bad | 36 EXIT_BAD_ARG = 2 # arguments given by user are bad |
37 EXIT_BRIDGE_ERROR = 3 # can't connect to bridge | 37 EXIT_BRIDGE_ERROR = 3 # can't connect to bridge |
38 EXIT_BRIDGE_ERRBACK = 4 # something went wrong when calling a bridge method | |
38 EXIT_NOT_FOUND = 16 # an item required by a command was not found | 39 EXIT_NOT_FOUND = 16 # an item required by a command was not found |
39 EXIT_FILE_NOT_EXE = 126 # a file to be executed was found, but it was not an executable utility (cf. man 1 exit) | 40 EXIT_FILE_NOT_EXE = 126 # a file to be executed was found, but it was not an executable utility (cf. man 1 exit) |
40 EXIT_CMD_NOT_FOUND = 127 # a utility to be executed was not found (cf. man 1 exit) | 41 EXIT_CMD_NOT_FOUND = 127 # a utility to be executed was not found (cf. man 1 exit) |
41 EXIT_SIGNAL_INT = 128 # a command was interrupted by a signal (cf. man 1 exit) | 42 EXIT_SIGNAL_INT = 128 # a command was interrupted by a signal (cf. man 1 exit) |