Open williamlamjy opened 2 years ago
The invalid input has been caught for both inputs and these two inputs have a different error and thus warrant a different error message (For the difference between your first and second error message).
As directed in the error message, the help commands
function will provide you with useful information on what is lacking/wrong with your input. This command also links to our user guide that you have followed which also includes a sample input to guide you for your own inputs.
As shown below, code output for help commands
:
Our user guide:
On your issue of an additional spacing, you can always try retyping.
Team chose [response.Rejected
]
Reason for disagreement: As much as this is addressed in the user guide, there should still be a more specific error message to mention no spaces in the weight parameter instead of "Unknown error" which could be very vague to the user.
Team chose [severity.VeryLow
]
Originally [severity.Medium
]
Reason for disagreement: Very low indicates appearance/aesthetic issues. This bug will cause inconveniences when the user mistypes and requires guidance, however there is none.
Unknown error is vague, what if mistyped an additional spacing before adding my weight but do not know what is the issue? Also the second invalid input should show the same message as the first