You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I should probably write an alternative error-pages example demonstrating usage of it.
@isaacs do you have any suggestions for an idiomatic example ? Maybe it's easier if you add an example to the error-page module and I just put some links to it.
I actually am not super happy with my error-page module. If you wrote an alternative approach that was not so tied to Templar and req/res decoration, I'd probably just give you the module name and port npmjs.org to use that instead.
Activity
isaacs commentedon Nov 26, 2013
I actually am not super happy with my error-page module. If you wrote an alternative approach that was not so tied to Templar and req/res decoration, I'd probably just give you the module name and port npmjs.org to use that instead.
Raynos commentedon Nov 27, 2013
@isaacs I have a demonstration of how I do error-pages in this example.
It's kind of baked into the router as is. Not sure how to make it more of a module.