Mercurial > libervia-backend
diff frontends/src/jp/constants.py @ 2098:e0066920a661
primitivus, jp: dynamic bridge + fixed D-Bus bridge:
Primitivus and jp can now load the bridge specified in sat.conf, but they are only working with D-Bus so far (need to change all sync calls to async).
Exit code 3 is used for Bridge init error.
author | Goffi <goffi@goffi.org> |
---|---|
date | Sun, 18 Dec 2016 16:28:51 +0100 |
parents | 3d633458d962 |
children | 877d0a2d0d86 |
line wrap: on
line diff
--- a/frontends/src/jp/constants.py Sun Dec 18 16:28:46 2016 +0100 +++ b/frontends/src/jp/constants.py Sun Dec 18 16:28:51 2016 +0100 @@ -34,6 +34,7 @@ EXIT_OK = 0 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_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)