package automation

import "errors"

// errFlowDependencySuspended is private transaction control. The owning
// atomic root may convert it to a connector-visible dependency only after its
// transaction manager confirms rollback.
var errFlowDependencySuspended = errors.New("flow execution suspended on durable dependency")

func isFlowDependencySuspension(err error) bool {
	return errors.Is(err, errFlowDependencySuspended)
}
