AY2223S2-CS2113-W15-4 / tp

https://ay2223s2-cs2113-w15-4.github.io/tp/
0 stars 5 forks source link

[PE-D][Tester C] [Functionality] Unspecific error message from `delete_staff` command #147

Closed nus-pe-bot closed 1 year ago

nus-pe-bot commented 1 year ago

When an invalid integer index is given to the delete_staff command, a descriptive and specific error message is given to the user, but the error message is generic and less helpful when a String is given as the index to the delete_staff command, as demonstrated below:

image.png

This is thus a functionality bug since the error message for the same command should be the same when it's for a similar cause(invalid parameters). However, the severity is low since most users would not make this mistake once they view the UserGuide of the help command output.


Labels: type.FunctionalityBug severity.Low original: haoyangw/ped#12

kristianachwan commented 1 year ago

It is already descriptive enough meaning that it is invalid index. View staff is already indexed already.