nus-cs2103-AY2425S1 / pe-dev-response

0 stars 0 forks source link

Inconsistent check command error message for invalid indices #555

Open nus-pe-bot opened 2 weeks ago

nus-pe-bot commented 2 weeks ago

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 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.

Steps to Reproduce

  1. check 0

Screenshot 2024-11-15 164309.png

Screenshot 2024-11-15 164305.png

Expected Result

Screenshot 2024-11-15 164313.png


[original: nus-cs2103-AY2425S1/pe-interim#785] [original labels: severity.Low type.FunctionalityBug]

Meowloid commented 2 weeks ago

Team's Response

No details provided by team.

Duplicate status (if any):

Duplicate of #1838