nus-cs2113-AY2324S2 / pe-dev-response

0 stars 0 forks source link

Different exception message for similar errors for addsubtrip #2480

Open nus-se-script opened 7 months ago

nus-se-script commented 7 months ago

Adding subtrip with starting date out of range throws "Failure to parse dates ..." while adding subtrip with ending date out of range throws "... not within range ..." Screenshot 2024-04-19 at 16.51.55.png


[original: nus-cs2113-AY2324S2/pe-interim#2416] [original labels: type.FeatureFlaw severity.VeryLow]

azamanis commented 7 months ago

Team's Response

The problem in the first command is a typo in the second date: "2024-0421"

Duplicate status (if any):

--