assertion library that throws user-specified error types (accepts error class and message)
github.com/tjmehta/assert-err
tjmehta/assert-err