(error: Error)
| 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); |
no outgoing calls
no test coverage detected
searching dependent graphs…