docs: function (msg, url, line, col, error) {
      tia.exceptionsArr.push(`TIA onerror exception: Msg: ${msg}, Url: ${url}, Line: ${line
      }, col: ${col}, error: ${error}`);
      if (tia.debugMode) {
        console.error(tia.getExceptions());
        if (error && error.stack) {
          console.log(error.stack);
        }
      }
    }