samuelbryant / sjb-tools

A simple CLI program to create, maintain and edit todo lists
MIT License
0 stars 0 forks source link

Handle errors in user-friendly way #45

Open samuelbryant opened 6 years ago

samuelbryant commented 6 years ago

On common (i.e. expected) errors, we should print user-friendly messages rather than throwing uncaught python exceptions.

Some obvious examples: 1) referencing non-existent list files 2) referencing non-existing item IDs 3) impossible state transitions