MCPcopy Create free account
hub / github.com/ChromeDevTools/devtools-frontend / getStack

Function getStack

front_end/testing/TrackAsyncOperations.ts:302–304  ·  view source on GitHub ↗
(error: Error)

Source from the content-addressed store, hash-verified

300}
301
302function getStack(error: Error): string {
303 return (error.stack ?? 'No stack').split('\n').slice(2).join('\n');
304}

Callers 5

trackingSetTimeoutFunction · 0.85
trackingSetIntervalFunction · 0.85

Calls 3

splitMethod · 0.80
sliceMethod · 0.65
joinMethod · 0.45

Tested by

no test coverage detected