mirror of
https://github.com/onyx-and-iris/gignore.git
synced 2025-04-01 19:23:51 +01:00
17 lines
331 B
Go
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)
|
|
}
|