Open JeremiasLiew opened 4 years ago
The error message is intended (to notify the user of incorrect phone number) but we will take note of the confusion casued to the user, will improve on it and ensure accurate error message is printed.
Team chose [type.DocumentationBug
]
Originally [type.FunctionalityBug
]
Reason for disagreement: I might be mistaken here, but isnt a Documentation Bug only for bugs in documentation, as the name suggests? Documentation would include the UG and DG in this case.
Throwing the wrong exception does not seem like it has anything to do with the UG or the DG.
Wrong exception thrown when trying to edit patient's phone number to an invalid number. In this case, the phone number should be invalid because it does not start with 8/9, and not because it does not have 8 digits.