You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
add command does not handle incorrect input from user during parsing, and this is so for every single field/detail required for a doctor.
To Reproduce
Steps to reproduce the behavior:
Open a command window
Run the JAR file in the appropriate file location using "java -jar tp.main.jar"
Type "add doctor /id jqwojq /n 6464 /ph kajsdhkahdkjshd /e oqwjoqdjoqiwjd" as input
See error
Expected behavior
There should be some output to inform the user that he/she has put in incorrect input, and continue running the programme.
Screenshots
Additional context
Some exception handling should be done for incorrect input.
Describe the bug
add command does not handle incorrect input from user during parsing, and this is so for every single field/detail required for a doctor.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
There should be some output to inform the user that he/she has put in incorrect input, and continue running the programme.
Screenshots
![image.png](https://raw.githubusercontent.com/quitejasper/ped/main/files/b399ce9c-61d9-4b4e-b260-2aa924c98b76.png)
Additional context
Some exception handling should be done for incorrect input.
Labels:
severity.High
type.FunctionalityBug
original: quitejasper/ped#3
The text was updated successfully, but these errors were encountered: