FsFlow.Flow.catch
Catches exceptions raised during execution and maps them to a typed error.
Remarks
Exceptions that are not caught by this helper will bubble up to the caller of run.
This ensures that known exceptions can be handled within the flow context.
Parameters
handler: A function of typeexn -> 'errorto map the exception.flow: The source flow of typeFlowto monitor.
Returns
A Flow that converts exceptions into success-path errors.