Need help cloning? Visit
is a free Git and Mercurial client for Windows.
is a free Git and Mercurial client for Mac.
just need to define errorPage in your config.json and any error in the middleware will be redirected there
Lgtm, but missing tests.
Sheesh! but don't yell at me! :-D
There you go!
I'm having second thoughts about this because:
What if we created a generic error handler much higher up in the stack so that we can use it in other places?
Yeah, good idea on making a more generic one and creating a default handler... however:
But I agree, it'd be a good idea moving an error page higher in the page. Doing something else when an error happen could be handled with an event handler