Skip to content

Error when entering <=0 index when deleting #3

@lerxcl

Description

@lerxcl

When executing command "deletePerson 0", the error message is, "Index is not a non-zero unsigned integer."

It may not be a very user friendly error, as I think the error is coming from parsing the number into a Index type. Thus, I think a better error message may be like "Sorry, you have input an invalid number! Please try again".

image.png

Similar behaviour for deleteLocation.

image.png

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions