How to use the ghost-ignition.errors.NotFoundError function in ghost-ignition

To help you get started, we’ve selected a few ghost-ignition examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github TryGhost / gscan / app / index.js View on Github external
app.use(function (req, res, next) {
    next(new errors.NotFoundError({message: 'Page not found'}));
});