Besides unifying the error messages, I've also removed the mention of \Traversable as this does not help and is an implementation detail (mapping and sequence are Twig terms, Traversable is not).
Or maybe we should introduce the notion of a "iterable"?
Besides unifying the error messages, I've also removed the mention of
\Traversable
as this does not help and is an implementation detail (mapping and sequence are Twig terms, Traversable is not).Or maybe we should introduce the notion of a "iterable"?