Skip to content

Commit

Permalink
docs: Add error for at, ap, ft, fp
Browse files Browse the repository at this point in the history
  • Loading branch information
freshcabbage123 authored and freshcabbage123 committed Nov 14, 2023
1 parent b104d6a commit 093a4cb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/UserGuide.md
Original file line number Diff line number Diff line change
Expand Up @@ -356,6 +356,7 @@ ap
`Phone numbers should only contain numbers, and it should be at least 3 digits long` | Ensure that the phone number specified is not blank, contain only numbers and at least 3 digits long.
`Addresses can take any values, and it should not be blank` | Ensure that the address specified is not blank.
`Emails should be of the format local-part@domain and adhere to the following constraints: …` | Ensure that the email specified is not blank and adheres to the constraints specified.
`Tags names should be alphanumeric` | Ensure that the tag used is alphanumeric.
`This person already exists in the address book` | Ensure that the new name specified does not match an existing person.
`Multiple values specified for the following single-valued field(s): …` | Ensure that there are no duplicate fields for name, email, address and phone number.

Expand Down Expand Up @@ -445,6 +446,7 @@ ep
`Phone numbers should only contain numbers, and it should be at least 3 digits long` | Ensure that the phone number specified is not blank, contain only numbers and at least 3 digits long.
`Addresses can take any values, and it should not be blank` | Ensure that the address specified is not blank.
`Emails should be of the format local-part@domain and adhere to the following constraints: …` | Ensure that the email specified is not blank and adheres to the constraints specified.
`Tags names should be alphanumeric` | Ensure that the tag used is alphanumeric.
`This person already exists in the address book.` | Ensure that the new name specified does not match an existing person.
`Multiple values specified for the following single-valued field(s): …` | Ensure that there are no duplicate fields for name, email, address and phone number.

Expand Down Expand Up @@ -632,6 +634,7 @@ at
---------------|---------------
`Invalid command format! …` | Ensure that the title and note are specified.
`Titles/Notes can take any value, as long as it is not blank and does not start with a whitespace` | Ensure that the title and note specified are not blank.
`Tags names should be alphanumeric` | Ensure that the tag used is alphanumeric.
`This task already exists in the address book` | Ensure that the new title and note specified do not match an existing task.
`Multiple values specified for the following single-valued field(s): …` | Ensure that there are no duplicate fields for title and note.

Expand Down Expand Up @@ -715,6 +718,7 @@ et
`Invalid command format! …` | Ensure that the index is correctly specified as an integer.
`At least one field to edit must be provided.` | Ensure that at least one of title, note, or tag is specified.
`Titles/Notes can take any value, as long as it is not blank and does not start with a whitespace` | Ensure that the title and/or note specified are not blank.
`Tags names should be alphanumeric` | Ensure that the tag used is alphanumeric.
`This task already exists in the address book.` | Ensure that the new title and note specified do not match an existing task.
`Multiple values specified for the following single-valued field(s): …` | Ensure that there are no duplicate fields for title and note.

Expand Down

0 comments on commit 093a4cb

Please sign in to comment.