Revert exception inheritance change

I thought I was right the first time, but the Flask-Simon tests were
being weird (still are actually) and I doubted myself.

This reverts commit 40472ef824d63c78843ffff751ad9995570a255b.