envoid/internal/errors/no_config_found.go
Sagi Dayan 7dc10b7062
Some checks failed
ci/ci / Check for spelling errors (pull_request) Successful in 22s
ci/ci / GonalgCI lint (pull_request) Failing after 1m13s
ci/ci / Make sure build does not fail (pull_request) Has been skipped
ci/ci / notify-fail (pull_request) Successful in 13s
Added lint to the CI. formatted all code accordingly
Signed-off-by: Sagi Dayan <sagidayan@gmail.com>
2024-12-16 22:41:22 +02:00

13 lines
262 B
Go

package errors
type NoConfigFoundError struct {
path string
}
func (e *NoConfigFoundError) Error() string {
return "no config file found in " + e.path
}
func NewNoConfigFoundError(path string) *NoConfigFoundError {
return &NoConfigFoundError{path: path}
}