Returns all the errors in this collection as a path to message
        dictionary. Paths are joined with the ``join`` string.

def as_dict(self, join='.'):
        """
        Returns all the errors in this collection as a path to message
        dictionary. Paths are joined with the ``join`` string.
        """
        result = {}
        for e in self.errors:
            result.update(e.as_dict(join))
        return result