Replace "raise Exception" by "raise XXX"
e15141fb519e175970af73dac92b736011208541
There are 3 `raise Exception` in the code. It could be good to replace it by custom exception to catch it (and only it) when using peewee.