code: func routeError(err error, routesPath, content string, n int) *Error {
  	if revelError, ok := err.(*Error); ok {
  		return revelError
  	}
  	// Load the route file content if necessary
  	if content == "" {
  		if contentBytes, er := ioutil.ReadFile(routesPath); er != nil {
  			routerLog.Error("routeError: Failed to read route file ", "file", routesPath, "error", er)
  		} else {
  			content = string(contentBytes)
  		}
  	}
  	return &Error{
  		Title:       "Route validation error",
  		Description: err.Error(),
  		Path:        routesPath,
  		Line:        n + 1,
  		SourceLines: strings.Split(content, "\n"),
  		Stack:       fmt.Sprintf("%s", logger.NewCallStack()),
  	}
  }
docs: // routeError adds context to a simple error message.