docs: function (e) {
              var str = "";
  
              if (typeof e == 'undefined' || e == null) {
                  return str;
              }
  
              str = "\nException";
              str += "\n" + '---------------------------------------------------';
              if (e.fileName)
                  str += '\nFile: ' + e.fileName;
              if (e.lineNumber)
                  str += '\nLine: ' + e.lineNumber;
              if (e.message)
                  str += '\nMessage: ' + e.message;
              if (e.name)
                  str += '\nError: ' + e.name;
              if (e.stack)
                  str += '\nStack:' + "\n" + e.stack.substring(0, 200) + " [...] Truncated stacktrace.";
              str += "\n" + '---------------------------------------------------' + "\n";
  
              return str;
          }