func pathNotFoundErrorNew(fullPath, requestedVersion string) error {
	path := fullPath
	if requestedVersion != internal.LatestVersion {
		path = fmt.Sprintf("%s@%s", fullPath, requestedVersion)
	}
	return &serverError{
		status: http.StatusNotFound,
		epage: &errorPage{
			templateName: "fetch.tmpl",
			messageTemplate: template.MakeTrustedTemplate(`
				<h3 class="NotFound-message">Oops! {{.}} does not exist.</h3>
				<p class="NotFound-message js-notFoundMessage">
					Check that you entered it correctly, or request to fetch it.
				</p>`),
			MessageData: path,
		},
	}
}
// pathNotFoundErrorNew returns an error page that provides the user with an
// option to fetch a path.
pathNotFoundErrorNew returns an error page that provides the user with an
option to fetch a path.
// pathNotFoundErrorNew returns an error page that provides the user with an // option to fetch a path .
func pathNotFoundErrorNew(fullPath, requestedVersion string) error {
	path := fullPath
	if requestedVersion != internal.LatestVersion {
		path = fmt.Sprintf("%s@%s", fullPath, requestedVersion)
	}
	return &serverError{
		status: http.StatusNotFound,
		epage: &errorPage{
			templateName: "fetch.tmpl",
			messageTemplate: template.MakeTrustedTemplate(`
				<h3 class="NotFound-message">Oops! {{.}} does not exist.</h3>
				<p class="NotFound-message js-notFoundMessage">
					Check that you entered it correctly, or request to fetch it.
				</p>`),
			MessageData: path,
		},
	}
}
func pathNotFoundErrorNew ( fullPath , requestedVersion string ) error { path := fullPath if requestedVersion != internal . LatestVersion { path = fmt . Sprintf ( " " , fullPath , requestedVersion ) } return & serverError { status : http . StatusNotFound , epage : & errorPage { templateName : " " , messageTemplate : template . MakeTrustedTemplate ( `
				<h3 class="NotFound-message">Oops! {{.}} does not exist.</h3>
				<p class="NotFound-message js-notFoundMessage">
					Check that you entered it correctly, or request to fetch it.
				</p>` ) , MessageData : path , } , } }
pathNotFoundErrorNew returns an error page that provides the user with an
option to fetch a path.
pathNotFoundErrorNew returns an error page that provides the user with an option to fetch a path .