let compose_results_merge_error ta tb = compose_results ta tb ~on_error:(function `left e -> `left e | `right e -> `right e)