Exception vs Result

There is…sort of. But it requires annotating the OCaml standard library and lots of manual work. I discussed the idea here Poor man's static exception analysis with alerts

1 Like