Open cleowenxuan opened 4 months ago
In the screenshot provided, it is already stated that PATIENT_INDEX
must be a positive integer. You might be right that the error message is too wordy, but the correct error is still identified and highlighted to the user.
Team chose [response.NotInScope
]
Reason for disagreement: Referenced from the CS2103T Textbook, "error messages can be correct but not specific enough" can be counted as feature flaws. In this case, 0 is technically a number and the command is in the correct format. As such, it should give the error mentioning 'wrong index' and not 'wrong command format'.
"delete 0" should mention wrong index and not wrong command format for the error message so that users are able to understand what is wrong with their input, instead of trying to find out if their format for the command is wrong.