func renderError(w http.ResponseWriter, r *http.Request, err error) { req, resp := revel.NewRequest(r), revel.NewResponse(w) c := revel.NewController(req, resp) c.RenderError(err).Apply(req, resp) }
func renderError(w http.ResponseWriter, r *http.Request, err error) { revel.RenderError(revel.NewRequest(r), revel.NewResponse(w), err) }