MCPcopy Index your code
hub / github.com/angular/angular / getFrames

Function getFrames

packages/zone.js/lib/zone-spec/long-stack-trace.ts:50–52  ·  view source on GitHub ↗
(error: Error)

Source from the content-addressed store, hash-verified

48 : getStacktraceWithUncaughtError;
49
50 function getFrames(error: Error): string[] {
51 return error.stack ? error.stack.split(NEWLINE) : [];
52 }
53
54 function addErrorStack(lines: string[], error: Error): void {
55 let trace: string[] = getFrames(error);

Callers 2

addErrorStackFunction · 0.85
captureStackTracesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…