mirror of
https://github.com/yannh/kubeconform.git
synced 2026-02-11 05:59:22 +00:00
12 lines
352 B
Go
12 lines
352 B
Go
package loader
|
|
|
|
// NotFoundError is returned when the registry does not contain a schema for the resource
|
|
type NotFoundError struct {
|
|
err error
|
|
}
|
|
|
|
func NewNotFoundError(err error) *NotFoundError {
|
|
return &NotFoundError{err}
|
|
}
|
|
func (e *NotFoundError) Error() string { return e.err.Error() }
|
|
func (e *NotFoundError) Retryable() bool { return false }
|