AY2425S1-CS2103T-T12-4 / tp

MIT License
0 stars 5 forks source link

[PE-D][Tester B] Error message for invalid index for delete_game command is not clear #261

Closed soc-se-bot closed 5 days ago

soc-se-bot commented 6 days ago

Currently, the list has 2 people. If I run delete_game 5, I get an error of invalid position. If I run delete_game 0, it just says invalid command format. Even for delete_game 0, the explanation should exist about invalid position.

Screenshot from 2024-11-08 16-26-33.png

Screenshot from 2024-11-08 16-27-12.png


Labels: type.FunctionalityBug severity.Low original: T1duS/ped#2

flyingsalsa commented 5 days ago

Unfortunately this is intended behaviour based on how the parser is implemented, the error message of the index error (isn't a positive integar) is at the bottom and needs to be scrolled to read