DeltonCheng / pe

0 stars 0 forks source link

Error message is wrong for wrong input #5

Open DeltonCheng opened 1 year ago

DeltonCheng commented 1 year ago

Keyed in wrong input when adding role for, but error messages says that it is blank

input:

add n/ testtt p/9999 e/aaa@a.com r/docter

error: Role can only be Doctor, Nurse or Patient, and it should not be blank

Screenshot 2023-11-17 at 5.09.15 PM.png

nus-se-bot commented 12 months ago

Team's Response

The output message is to pinpoint the error that your command contains. What is being listed in the message is the requirements of role in your command. It does not indicate that you have written a blank role.

In retrospect, it could have been clearer in the way we conveyed the message.

image.png

Items for the Tester to Verify

:question: Issue response

Team chose [response.NotInScope]

Reason for disagreement: [replace this with your explanation]