peewee error message
http://docs.peewee-orm.com/en/latest/peewee/contributing.html#bugs

I have literally no clue what you are asking. ```
try:
	table_name.function_name(...)
except IntegrityError as e:
	return e
``` You can do this:

```python
try:
    SomeModel.function_name(...)
except IntegrityError as exc:
    exc_message = str(exc)
```
Hi,

How get error message