Added more descriptive error messages for validation failures