Move the guts of try_and_catch into a detail namespace