Make the control struct contain a error number so that the server can provide more information if there is an error.