tgriesser / checkit

simple, flexible validations for node and the browser
MIT License
223 stars 53 forks source link

make error types be instances of Error #34

Closed NinjaBanjo closed 9 years ago

NinjaBanjo commented 9 years ago

Update all Error types used to be an instance of Error so they can be used in catches, and in instanceOf checks

rhys-vdw commented 9 years ago

Thanks. I don't know what's going on with the tests here, but it doesn't look related to your changes.