Documentation
¶
Overview ¶
Package result is the outcome of a flow run: a per-node record plus the flow-level verdict. The engine records failures here and keeps going (skipping dependents) rather than returning a Go error, so a caller sees the whole run.
Index ¶
Constants ¶
View Source
const ( SkipDependencyFailed = "dependency_failed" SkipDependencySkipped = "dependency_skipped" SkipRoutedAway = "routed_away_by_branch" SkipAbortedAfterFail = "aborted_after_failure" SkipMissingInputs = "missing_inputs" )
Skip reasons — a wire contract with echopoint; the exact strings must not drift.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FlowResult ¶
type FlowResult struct {
Success bool
Nodes map[string]*NodeResult
Outputs value.Map
Error string
Code string
}
FlowResult is a whole run's outcome. Success is false if any on_success node failed or the flow failed validation.
func (*FlowResult) Node ¶
func (f *FlowResult) Node(id string) *NodeResult
Node returns a node's result (nil if absent).
Click to show internal directories.
Click to hide internal directories.