Heart-of-N1 / pe

0 stars 0 forks source link

Inaccurate error message shown when user inputs in negative index. #6

Open Heart-of-N1 opened 4 months ago

Heart-of-N1 commented 4 months ago

image.png

There are not meant to be negative indices and the error message should be that negative indices are not permitted.

nus-se-bot commented 4 months ago

Team's Response

We understand that negative indices are not allowed but this exception is correctly thrown for this case.

Items for the Tester to Verify

:question: Issue response

Team chose [response.Rejected]

Reason for disagreement: Negative indices should have their own unique error messages.