Description: When trying to edit a person at an invalid index, the error message shown does not reflect the invalid index problem
Steps to reproduce:
- Open TalentFolio.jar with the existing sample data loaded in the list
edit 13 (or any invalid index not in the list)
Expected: The error message "Provided index is invalid" is shown
Actual: "At least one non-empty field to edit must be provided"

Instead of prompting the user to add in the field they want to edit, perhaps you could already tell them that the provided index is invalid, as they may have many candidates to look through and did not realise they keyed in the wrong index
Description: When trying to edit a person at an invalid index, the error message shown does not reflect the invalid index problem
Steps to reproduce:
edit 13(or any invalid index not in the list)Expected: The error message "Provided index is invalid" is shown
Actual: "At least one non-empty field to edit must be provided"
Instead of prompting the user to add in the field they want to edit, perhaps you could already tell them that the provided index is invalid, as they may have many candidates to look through and did not realise they keyed in the wrong index