code: function ErroneousError(e, additional) {
      additional = additional || {};
      this.line = e.lineno || e.lineNumber || additional.lineno;
      this.file = e.filename || e.fileName || additional.filename;
      this.msg = e.message || additional.message;
      this.time = e.timestamp || additional.timestamp || Date.now();
      this.type = (this.parseMessage(this.msg) || e.type || e.name).toLowerCase();
  
      // If it's a DOM node, let's figure out which
      if (e.target) {
        this.target = this.getTargetIdentifier(e.target);
  
        if (e.target.nodeName) {
          this.type = 'resource';
          if (e.target.href) {
            this.file = e.target.href;
          } else if (e.target.src) {
            this.file = e.target.src;
          }
        }
      }
  
      // Parse the stack if any
      this.stack = e.stack;
      this.parseStack(e.stack);
    }
docs: Object for storing error details
  Only used internally