airshipctl/pkg/document/errors.go
Kostiantyn Kalynovskyi ca0ecbd3ab Change document labeling
Now document labeling would allow to have same document to be deployed
to different clusters, ephemeral or target at the same type.

Change-Id: Ia1bb618c322c19c4db3c47b3d19c630b61125f5c
2020-02-19 20:51:21 +00:00

16 lines
302 B
Go

package document
import (
"fmt"
)
// ErrDocNotFound returned if desired document not found
type ErrDocNotFound struct {
Selector string
Kind string
}
func (e ErrDocNotFound) Error() string {
return fmt.Sprintf("Document filtered by selector %s with Kind %s not found", e.Selector, e.Kind)
}