code: func (r *Router) Error(fn interface{}) *Router {
  	vfn := reflect.ValueOf(fn)
  	validateErrorHandler(vfn, r.contextType)
  	r.errorHandler = vfn
  	return r
  }
docs: // Error sets the specified function as the error handler (when panics happen) and returns the router.