soongensayo / pe

0 stars 0 forks source link

Unclear exception message when user keys in negative numbers for price #7

Open soongensayo opened 5 months ago

soongensayo commented 5 months ago

Perhaps, it would be better to let the user know what exactly is wrong with the input e.g. "no negative numbers for price allowed"

Screenshot 2024-04-19 at 4.39.19 PM.png

nus-se-bot commented 5 months ago

Team's Response

We interpret the dash "-" as a delimiter used to indicate extra parameters so we intentionally chose to display an error message for extra parameters instead of negative numbers.

Items for the Tester to Verify

:question: Issue response

Team chose [response.Rejected]

Reason for disagreement: [replace this with your explanation]