assert-err (npm): assertion library that throws user-specified error types (accepts error class and message)
Keywords: assert|error|type|class|custom|user|constructor