Skip to content

[bz4388276] Create a middleware to handle 404 pages instead of doing it within Mojito #82

add0n opened this Issue Mar 30, 2012 · 1 comment

2 participants

add0n commented Mar 30, 2012

Or potentially just a simple error handler middlware that can handle any errors. It will look for a particular mojito-error object on the request to find out whether to react or call next().

caridy commented May 17, 2013

In 0.5 mojito-handler-error middleware was introduced. In 0.6 you will be able to handle this in express directly.

@caridy caridy closed this May 17, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.