JSJaC

## JSJaCError.js

#### Summary

No overview generated for 'JSJaCError.js'

    /**
     * an error packet for internal use
     * @private
     * @constructor
     */
    function JSJaCError(code,type,condition) {
      var xmldoc = XmlDocument.create("error","jsjac");

      xmldoc.documentElement.setAttribute('code',code);
      xmldoc.documentElement.setAttribute('type',type);
      if (condition)
        xmldoc.documentElement.appendChild(xmldoc.createElement(condition)).
          setAttribute('xmlns','urn:ietf:params:xml:ns:xmpp-stanzas');
      return xmldoc.documentElement;
    }

JSJaC

Documentation generated by JSDoc on Tue Jan 5 02:48:26 2021