lexico icon indicating copy to clipboard operation
lexico copied to clipboard

Displays error message when the spelling is wrong

Open KeerthanBhat opened this issue 7 years ago • 2 comments
trafficstars

Used a simple try except for handling the TypeError when the word entered in lexico add word has a wrong spelling.

KeerthanBhat avatar Dec 26 '17 16:12 KeerthanBhat

Instead of calling exit, we should return either an empty list or None from this function. (Compare which will be suitable here) The CLI application should catch it and perform the exit.

kshitij10496 avatar Dec 30 '17 16:12 kshitij10496

Is this commit fine or anything else that I have to do?

KeerthanBhat avatar Dec 31 '17 16:12 KeerthanBhat