Open bryanyee33 opened 4 months ago
Mentioned in the error message that INDEX (Must be a positive number). We singled out invalid index 0 in the invalid command format, hence for the special case of index = 0, we decided to show invalid command format message over the standard invalid index message to provide more help to user.
Team chose [response.Rejected
]
Reason for disagreement: [replace this with your explanation]
Doing
delete 0
gives an incorrect error message, as the format is correct.The above shows the correct error message when
delete 7
is done (out of range).