private String getErrorMessage(ProcessingReport processingReport) {
        StringBuilder messageBuilder = new StringBuilder();
        Iterator<ProcessingMessage> messageIterator = processingReport.iterator();
        while (messageIterator.hasNext()) {
            ProcessingMessage message = messageIterator.next();
            if (StringUtils.isNotBlank(message.getMessage())) {
                messageBuilder.append(message.getMessage());
                JsonNode jsonNode = message.asJson();
                String location = getLocation(jsonNode);
                if (StringUtils.isNotBlank(location)) {
                    messageBuilder.append(" at ").append(location);
                }
            } else {
                messageBuilder.append(message.toString());
            }
            messageBuilder.append(ToolConstants.NEW_LINE);
        }
        return messageBuilder.toString();
    }
@param processingReport
@return user friendly error message
workflow-controller/controller-service/src/main/java/io/hyscale/controller/validator/SpecSchemaValidator.java