clarified the errors returned