private static StringBuilder conditionalNewLine(StringBuilder buf) {
		if (!buf.isEmpty()) {
			buf.append("\n");
		}
		return buf;
	}
Elastic search sends a JSON document in the Http error stream for any error
Pull out relevant info from the document and construct an exception message
@param resp is the parsed error document
@return the exception String
Ghidra/Features/BSim/src/main/java/ghidra/features/bsim/query/elastic/ElasticConnection.java