let catch func handler = try func () with | e -> handler e