Open Raynos opened 10 years ago
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.
@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.
@isaacs has an error-page module.
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.