Part of lp.registry.interfaces.teammembership View In Hierarchy
Two teams cannot be members of each other and there cannot be any cyclical relationships. So if A is a member of B and B is a member of C then attempting to make C a member of A will result in this error being raised.