nus-cs2103-AY2021S1 / pe-dev-response

0 stars 0 forks source link

Exception thrown does not match the issue #4762

Open nus-pe-bot opened 4 years ago

nus-pe-bot commented 4 years ago

When i enter add d/2020-10-14 w/-12, the exception tells me Weight should only contain numbers, and it can only take up to at most 2 decimal points . However, this does not point it the problem but should in fact be it should be a postive number with the exception given, it should also remind the user about the unit of weight like kg. Coz it will affect the value entered as well. This may not really happen to enter negative number, but if user accidentally do this and the error should be able to match. Screenshot 2020-11-13 at 4.25.09 PM.png


[original: nus-cs2103-AY2021S1/pe-interim#4604]

hoperawr commented 4 years ago

Team's Response

Our user guide mentions that the weight the application takes in is in KG, thus our application does explicitly state this.

Duplicate status (if any):

--