github.com/helmwave/helmwave@v0.36.4-0.20240509190856-b35563eba4c6/pkg/plan/errors.go (about) 1 package plan 2 3 import ( 4 "errors" 5 "fmt" 6 ) 7 8 var ( 9 // ErrValidateFailed is returned for failed values validation. 10 ErrValidateFailed = errors.New("validate failed") 11 12 // ErrPlansAreTheSame is returned when trying to compare plan with itself. 13 ErrPlansAreTheSame = errors.New("plan1 and plan2 are the same") 14 15 ErrMultipleKubecontexts = errors.New("kubedog can't work with releases in multiple kubecontexts") 16 17 // ErrManifestDirEmpty is an error for empty manifest dir. 18 ErrManifestDirEmpty = fmt.Errorf("manifests dir %s is empty", Manifest) 19 20 // ErrDeploy is returned when deploy is failed for whatever reason. 21 ErrDeploy = errors.New("deploy failed") 22 )