chaijs/chai — pull request #232 by laconbass (2014-01-15 17:58:22+00:00)
Title: Avoid error instantiation if possible on assert.throws

Given an error constructor as function, try to get the error name from its prototype or itself before relying on the old behaviour.

Closes #220

Replaces [the old pull](https://github.com/chaijs/chai/pull/221) to avoid useless commits.