e.g. dune utop gives
Exception: Failure "resolution failed: no scheme".
How do I have to catch that exception?
Edit: (The Uri.empty
looks a bit stupid but is the smallest piece of code showing the problem)
e.g. dune utop gives
Exception: Failure "resolution failed: no scheme".
How do I have to catch that exception?
Edit: (The Uri.empty
looks a bit stupid but is the smallest piece of code showing the problem)
What have you tried so far? Did you try Lwt.catch
? Can you show what code you have?
I tried wrapping the Lwt.bind
itself and both the second and first argument. I suspect the raise to happen inside the bind. I think Lwt.catch
or try_bind
is what I look for, thanks a lot!