Catching non-fatal exceptions?

In Lwt there’s a global switch so that is_fatal becomes function Out_of_memory | Stack_overflow -> true | _ -> false.

See Should out-of-memory ever be caught in libraries/framework?

1 Like