def wrong_adjunction(left, right, cup):
    """ Wrong adjunction error. """
    return "There is no {0}({2}, {3}) in a rigid category. "\
           "Maybe you meant {1}({2}, {3})?".format(
               "Cup" if cup else "Cap", "Cap" if cup else "Cup", left, right)