Steps to reproduce:
addv 999999999999999999999999999 d/25/2/2024 c/High Fever v/High
expected:
error message that tell me the list is not so large
actual:
Invalid command format!
addv: adds a visit to the specified patient.
Parameters: INDEX (must be a positive integer) [d/DATE OF VISIT] [c/CONDITION] [v/SEVERITY]
OR [n/NAME] [p/PHONE] [d/DATE OF VISIT] [c/CONDITION] [v/SEVERITY]
Example: addv 1 d/25/2/2024 c/Mild Fever v/Low
Reason:
I think the error message does not match the error since the UG did say positive integer.
Steps to reproduce: addv 999999999999999999999999999 d/25/2/2024 c/High Fever v/High
expected: error message that tell me the list is not so large
actual: Invalid command format! addv: adds a visit to the specified patient. Parameters: INDEX (must be a positive integer) [d/DATE OF VISIT] [c/CONDITION] [v/SEVERITY] OR [n/NAME] [p/PHONE] [d/DATE OF VISIT] [c/CONDITION] [v/SEVERITY] Example: addv 1 d/25/2/2024 c/Mild Fever v/Low
Reason: I think the error message does not match the error since the UG did say positive integer.