fingerprint
此内容尚不支持你的语言。
fingerprint(
report):string
Defined in: diagnostics/events.ts:122
The identity two occurrences of the same problem share.
Message + source + the first stack frame. The message alone would merge two unrelated “Cannot read properties of undefined” into one event and hide a second bug behind the first; the WHOLE stack would split one bug into a dozen events whenever it is reached through different callers, which is the failure that makes a crash reporter useless at exactly the moment it is needed.
Numbers in the message are normalized away, because an error carrying an entity id or a frame count would otherwise be a brand-new problem every time it happened.
Parameters
Section titled “Parameters”report
Section titled “report”Returns
Section titled “Returns”string