When using an invalid index with the check command, the error messages are not consistent. When using an index that is greater than the size of the list of clients, the error message is The Client index provided is invalid.. When using indices such as 0 or -1, the error message is Invalid command format!, which is less precise.
Description
When using an invalid index with the
check
command, the error messages are not consistent. When using an index that is greater than the size of the list of clients, the error message isThe Client index provided is invalid.
. When using indices such as 0 or -1, the error message isInvalid command format!
, which is less precise.Steps to Reproduce
check 0
Expected Result
[original: nus-cs2103-AY2425S1/pe-interim#785] [original labels: severity.Low type.FunctionalityBug]