mirror of
https://github.com/onyx-and-iris/gignore.git
synced 2025-03-31 10:51:19 +01:00
18 lines
427 B
Go
18 lines
427 B
Go
// Package gignore provides functionality for handling template errors and registry operations.
|
|
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)
|
|
}
|