Improve error messages when non-function provided as middleware
commit2df1ad26a58bf51228d7600df0d62ed17a90ff71
authorHrvoje Šimić <shime@twobucks.co>
Tue, 26 Sep 2017 14:00:53 +0000 (26 16:00 +0200)
committerDouglas Christopher Wilson <doug@somethingdoug.com>
Thu, 28 Sep 2017 13:20:37 +0000 (28 09:20 -0400)
tree25ae455f849eb177ebc323c9510798e3fb28fdbf
parent12c37124689380837b24a7ed962432596237b440
Improve error messages when non-function provided as middleware

closes #3426
History.md
lib/application.js
lib/router/index.js
lib/router/route.js
test/Router.js
test/app.use.js