{"record":{"id":"ec62fb17bc35efc3","repo":"Meituan-Dianping/mpvue","slug":"error-in-info-err-tostring","errorCode":null,"errorMessage":"Error in ${info}: \"${err.toString()}\"","messagePattern":"Error in (.+?): \"(.+?)\"","errorType":"console","errorClass":null,"httpStatus":null,"severity":"error","filePath":"packages/weex-vue-framework/factory.js","lineNumber":537,"sourceCode":"      return '\\n\\nfound in\\n\\n' + tree\n        .map(function (vm, i) { return (\"\" + (i === 0 ? '---> ' : repeat(' ', 5 + i * 2)) + (Array.isArray(vm)\n            ? ((formatComponentName(vm[0])) + \"... (\" + (vm[1]) + \" recursive calls)\")\n            : formatComponentName(vm))); })\n        .join('\\n')\n    } else {\n      return (\"\\n\\n(found in \" + (formatComponentName(vm)) + \")\")\n    }\n  };\n}\n\n/*  */\n\nfunction handleError (err, vm, info) {\n  if (config.errorHandler) {\n    config.errorHandler.call(null, err, vm, info);\n  } else {\n    if (process.env.NODE_ENV !== 'production') {\n      warn((\"Error in \" + info + \": \\\"\" + (err.toString()) + \"\\\"\"), vm);\n    }\n    /* istanbul ignore else */\n    if (inBrowser && typeof console !== 'undefined') {\n      console.error(err);\n    } else {\n      throw err\n    }\n  }\n}\n\n/*  */\n/* globals MutationObserver */\n\n// can we use __proto__?\nvar hasProto = '__proto__' in {};\n\n// Browser environment sniffing\nvar inBrowser = typeof window !== 'undefined';","sourceCodeStart":519,"sourceCodeEnd":555,"githubUrl":"https://github.com/Meituan-Dianping/mpvue/blob/6c5d78ee04f58c6d782c456dfcf0fe63c0b7f89b/packages/weex-vue-framework/factory.js#L519-L555","documentation":"Standard error reporting from handleError: when an error propagates from a lifecycle hook, watcher, directive, or render call and no global config.errorHandler is installed, Vue logs the message including the info string identifying where the error occurred. The thrown/caught err itself is the root cause; this message is the wrapper that names the phase (info) that failed.","triggerScenarios":"Thrown at packages/weex-vue-framework/factory.js:537 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Read the info argument and component trace to locate the failing hook or render function","Install Vue.config.errorHandler to capture errors centrally (e.g. for Sentry)","Fix the underlying err shown in the message"],"exampleFix":null,"handlingStrategy":"try-catch","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"6c5d78ee04f58c6d782c456dfcf0fe63c0b7f89b","analyzedAt":"2026-09-02T05:17:40.946Z","contentChangedAt":null,"schemaVersion":2},"datasetVersion":"2026-09-09T11:17:12.671Z"}