package configparser import "fmt" type EmptyConfigError struct { directory string } func (e *EmptyConfigError) Error() string { return fmt.Sprintf("no config files found at %s", e.directory) }