gignore/error.go
2025-03-09 23:18:02 +00:00

17 lines
331 B
Go

package gignore
import (
"fmt"
"github.com/onyx-and-iris/gignore/internal/registry"
)
type templateNotFoundError struct {
template string
registry *registry.TemplateRegistry
}
func (e *templateNotFoundError) Error() string {
return fmt.Sprintf("template '%s' not found in %s registry", e.template, e.registry.Directory)
}