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:
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.
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 aString
is given as the index to thedelete_staff
command, as demonstrated below: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