code: function (req, res) {
      var error = new errors.NotFound('Page Does Not Exist');
      if (req.accepts('html') && (req.url.indexOf('/api/') !== 0)) {
        this.renderErrorPage('404', error, req, res);
      } else {
        this.renderError(error, req, res);
      }
    }
docs: Fall through handler for when no routes match.