packageregistryimport"fmt"typeErrTemplateExistsstruct{Namestring}func(eErrTemplateExists)Error()string{returnfmt.Sprintf("template %s already exists",e.Name)}typeErrTemplateNotFoundstruct{Namestring}func(eErrTemplateNotFound)Error()string{returnfmt.Sprintf("template not found for %s",e.Name)}typeErrSourceNotFoundstruct{Namestring}func(eErrSourceNotFound)Error()string{returnfmt.Sprintf("Source not found for %s",e.Name)}