docs: public static ErrorIQ createErrorResponse(final IQ request, final StanzaError.Builder error) {
          if (!request.isRequestIQ()) {
              throw new IllegalArgumentException(
                      "IQ must be of type 'set' or 'get'. Original IQ: " + request.toXML());
          }
          final ErrorIQ result = new ErrorIQ(error);
          result.setStanzaId(request.getStanzaId());
          result.setFrom(request.getTo());
          result.setTo(request.getFrom());
  
          error.setStanza(result);
  
          return result;
      }