andreusxcarvalho / pe

0 stars 0 forks source link

Different error message for similar error #8

Open andreusxcarvalho opened 1 week ago

andreusxcarvalho commented 1 week ago

When I use a much bigger number in the delete function, the error message is different. Regardless of the size of the number, the error message should be the same, for consistency.

image.png

nus-se-script commented 1 week ago

[IMPORTANT!: Please do not edit or reply to this comment using the GitHub UI. You can respond to it using CATcher during the next phase of the PE]

Team's Response

These are 2 different errors. The first error is due to using an absurdly large number, while the second error is using a valid number but the index is truly out of bounds. Our programme still failed gracefully in the event of the first error

image.png

Items for the Tester to Verify

:question: Issue response

Team chose [response.Rejected]

Reason for disagreement: [replace this with your reason]


## :question: Issue type Team chose [`type.FunctionalityBug`] Originally [`type.DocumentationBug`] - [ ] I disagree **Reason for disagreement:** [replace this with your reason]