Get the error messages for a specific driver.

        Args:
            driver_id: The ID of the driver to get the errors for.

        Returns:
            A list of the error messages for this driver.

def _error_messages(self, driver_id):
        """Get the error messages for a specific driver.

        Args:
            driver_id: The ID of the driver to get the errors for.

        Returns:
            A list of the error messages for this driver.
        """
        assert isinstance(driver_id, ray.DriverID)
        message = self.redis_client.execute_command(
            "RAY.TABLE_LOOKUP", ray.gcs_utils.TablePrefix.ERROR_INFO, "",
            driver_id.binary())

        # If there are no errors, return early.
        if message is None:
            return []

        gcs_entries = ray.gcs_utils.GcsTableEntry.GetRootAsGcsTableEntry(
            message, 0)
        error_messages = []
        for i in range(gcs_entries.EntriesLength()):
            error_data = ray.gcs_utils.ErrorTableData.GetRootAsErrorTableData(
                gcs_entries.Entries(i), 0)
            assert driver_id.binary() == error_data.DriverId()
            error_message = {
                "type": decode(error_data.Type()),
                "message": decode(error_data.ErrorMessage()),
                "timestamp": error_data.Timestamp(),
            }
            error_messages.append(error_message)
        return error_messages