client exit code set on errors