I have an http request using the Effect HTTP client and on an unsuccessful status, there may be a json body with a
detail
detail
key with error information which I'd like to capture into the effect's error. It may also not exist in which case a parse error is sufficient. Then of course in the successful case it should follow a different pipeline.
So my question is, how can I fork a pipeline and define a failure pipeline alongside a success pipeline?