docs: public IQ createJingleError(IQ iq, JingleError jingleError) {
          IQ errorPacket = null;
          if (jingleError != null) {
              // TODO This is wrong according to XEP-166 § 10, but this jingle implementation is deprecated anyways
              StanzaError.Builder builder = StanzaError.getBuilder(StanzaError.Condition.undefined_condition);
              builder.addExtension(jingleError);
  
              errorPacket = IQ.createErrorResponse(iq, builder);
  
              //            errorPacket.addExtension(jingleError);
  
              // NO! Let the normal state machinery do all of the sending.
              // getConnection().sendStanza(perror);
              LOGGER.severe("Error sent: " + errorPacket.toXML());
          }
          return errorPacket;
      }