We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e5f7e91 commit b8ac272Copy full SHA for b8ac272
provider/provider.go
@@ -26,8 +26,12 @@ import (
26
"sigs.k8s.io/external-dns/plan"
27
)
28
29
+// SoftError is an error, that provider will only log as error instead
30
+// of fatal. It is meant for error propagation from providers to tell
31
+// that this is a transient error.
32
var SoftError error = errors.New("soft error")
33
34
+// NewSoftError creates a SoftError from the given error
35
func NewSoftError(err error) error {
36
return errors.Join(SoftError, err)
37
}
0 commit comments