func (r RouteHandler) HandleInternalServerError(i interface{}) http.Handler { if r.HandleInternalServerError == nil { panic(fweight.Err(fweight.StatusInternalServerError)) } return r.Recover.ServeRecover(i) }
func (r RouteHandler) HandleNotFound(rq *http.Request) http.Handler { if r.NotFound == nil { panic(fweight.Err(fweight.StatusNotFound)) } return r.NotFound }