Skip to content

Commit

Permalink
docs: Remove whitespaces resolution from ap errors
Browse files Browse the repository at this point in the history
  • Loading branch information
freshcabbage123 authored and freshcabbage123 committed Nov 13, 2023
1 parent b2c08e4 commit ceb0342
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/UserGuide.md
Original file line number Diff line number Diff line change
Expand Up @@ -351,9 +351,9 @@ ap
Error message | How to resolve
---------------|---------------
`Invalid command format! …` | Ensure that the name, phone number, email address and address are specified.
`Names should only contain alphanumeric characters and spaces, and it should not be blank` | Ensure that the name specified is not blank and contain only alphanumeric characters. Whitespaces at the start and end are trimmed.
`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. Whitespaces at the start and end are trimmed.
`Addresses can take any values, and it should not be blank` | Ensure that the address specified is not blank. Whitespaces at the start and end are trimmed.
`Names should only contain alphanumeric characters and spaces, and it should not be blank` | Ensure that the name specified is not blank and contain only alphanumeric characters.
`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. Whitespaces at the start and end are trimmed.
`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

0 comments on commit ceb0342

Please sign in to comment.