nus-cs2113-AY2122S1 / pe-dev-response

0 stars 0 forks source link

Error message for no item found is missing #866

Open nus-se-bot opened 3 years ago

nus-se-bot commented 3 years ago

pebug4.png


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

bernardboey commented 2 years ago

Team's Response

This is intended behaviour. The program checks for a valid command first, before checking whether the ingredient exists in the repository. It is not reasonable to expect the program to list out both error messages at the same time.

If the user were to type decrement i/fish q/1 (which is a valid command format), then there will be an error message saying that the ingredient is missing.

image.png

Duplicate status (if any):

--