Skip to content

Adding an appointment with the same time error message lacking details #3

Description

@Jajared

Describe the bug
When adding an appointment with the same time, the error message returned is 'This meeting already exists in the address book'. While it is mentioned in the UG that a unique meeting time must be provided, the error message is lacking details and does not explain much.

To Reproduce
Steps to reproduce the behavior:

  1. Run any command to add a new appointment
  2. An appointment is successfully added
  3. Run a new command to add a new appointment (with a different name but same timing)
  4. An error message is returned

Expected behavior
A more detailed error message can be provided for easier debugging. For example, the error message can provide more information such as 'A meeting with the same timing already exists in the address book'

Screenshots
Screenshot 2024-04-19 at 4.22.08 PM.png

Additional context
Nil

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions