In this function, all the errors have the same message. Can we be more specific ?