Skip to main content

capture

Function capture 

Source
pub fn capture<T>(body: impl FnOnce() -> T) -> Result<T, PipelineError>
Expand description

Runs body, and fails with the first error an operator reported while it ran.