2024-11-22 15:29:25 +00:00
|
|
|
package errors
|
|
|
|
|
|
|
|
type NoConfigFoundError struct {
|
|
|
|
path string
|
|
|
|
}
|
|
|
|
|
|
|
|
func (e *NoConfigFoundError) Error() string {
|
2024-12-16 18:22:58 +00:00
|
|
|
return "no config file found in " + e.path
|
2024-11-22 15:29:25 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func NewNoConfigFoundError(path string) *NoConfigFoundError {
|
|
|
|
return &NoConfigFoundError{path: path}
|
|
|
|
}
|