pranav-ganesh / pe

0 stars 0 forks source link

Error message too generic #15

Open pranav-ganesh opened 2 years ago

pranav-ganesh commented 2 years ago

image.png

The error message is too generic. I forgot to type the index and I expected the error message to be index not found.

nus-pe-bot commented 2 years ago

Team's Response

Our error message is specific enough to tell users what parameters are compulsory. As shown in the error message, the first parameter that needs to be supplied should be a positive integer. The tester has brought up a valid suggestion however, the team decided to not implement in v1.4

Items for the Tester to Verify

:question: Issue response

Team chose [response.NotInScope]

Reason for disagreement: The website clearly mentions that a potential bug arises when an error message is not specific enough:

image.png

In the above case, the application says that the command format is invalid without giving a specific reason why the command is invalid. This error message is correct but too generic. A more apt and specific error message should have been "Index not found". Such a simple and specific error message would prevent the users from wasting time comparing their command with the correct command format to identify the exact issue in their command.

Therefore, this is classified as a bug with low severity.