add errors and hasErrors to the controller quick reference