nus-cs2113-AY2122S1 / pe-dev-response

0 stars 0 forks source link

Incorrect error message for add food item command. #2946

Open nus-se-bot opened 2 years ago

nus-se-bot commented 2 years ago

When multiple parameters are incorrect for the add food item command, I get the following error that only mentions the time parameter.

image.png


[original: nus-cs2113-AY2122S1/pe-interim#2930] [original labels: severity.Low type.FunctionalityBug]

tlyi commented 2 years ago

Team's Response

This is functioning as expected as we check through all the validity of the parameters in a pre-determined order, and reject the command immediately if any error was detected.

Duplicate status (if any):

--