Basic assert function that throws provided error object
npm install assert-errorSimple assert function that throws provided error object.

``js
var assert = require('assert-error');
var myError = new Error('my error');
myError.code = 404;
assert(true === true, myError);
``
##LICENSE
Apache License, Version 2.0