Skip to content

Wrong error message for wrong index #5

@yooplo

Description

@yooplo

Expected: error message to user should be something to do with invalid index

Actual: error message is with the format

image.png

To reproduce:
schedule 0 l/NUS st/09-10-2024 09:00 et/09-10-2024 10:00

As show, the format of the command followed is the same as the one given in the UG, (schedule INDEX st/DD-MM-YYYY HH:MM et/DD-MM-YYYY HH:MM l/LOCATION), however the error shown to the user is "Invalid command format". The mistake is actually in the index, so the error should be telling the user of his mistake in the index.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions