A few weeks ago I came across a problem catching Integrity Error. Unfortunately it took me a while to find the workaround.
Can we just export IntegrityError properly?
I recently found another error that also wasn't exported properly, but right now I can't remember it. :(