Open AhmedShaiyan opened 3 months ago
As per the UG, warning for input format has been clearly highlighted in BOLD and RED for the user to ensure spaces are used. omitting it is a user error which have been highlighted to the user, hence not a bug in the error message
This is an invalid command and behaves as expected
Team chose [response.Rejected
]
Reason for disagreement: While I understand that the UG provides caution regarding proper spacing, I do not think that is reason enough to not have specific error messages for the issue. Infact, your program already has a suitable error message for cases when the spacing is incorrect:
However, this message is not always invoked for spacing error cases. The message your program currently outputs for some wrong spacing situations is this:
(no space between e/
and add/
).
Such vague error messages is considered a bug.
entering a valid expense tracker command but forgetting a spaces gives "unknown command". Could be more specific.
example: input without space between e/ and add/