chai.

Avoid insanity when handling errors with Chai.