The exit codes are described in exitcodes.h header file. A special handling is applied to the value returned from the client.