def raise_exceptions(self):
        """Raises an :class:`ExecutionError` (only) if the operation failed."""
        exception = self.to_exception()
        if exception is not None:
            raise exception
Raises an :class:`ExecutionError` (only) if the operation failed.
fiftyone/operators/executor.py