(liteStackframes: StackFrameLite[])
| 18 | export * from './types' |
| 19 | |
| 20 | function stackframesLiteToStackframes(liteStackframes: StackFrameLite[]): StackFrame[] { |
| 21 | return liteStackframes.map((liteStackframe) => { |
| 22 | return { |
| 23 | functionName: liteStackframe.function, |
| 24 | args: liteStackframe.args, |
| 25 | fileName: liteStackframe.file, |
| 26 | lineNumber: liteStackframe.line, |
| 27 | columnNumber: liteStackframe.col, |
| 28 | source: liteStackframe.raw, |
| 29 | } |
| 30 | }) |
| 31 | } |
| 32 | |
| 33 | /** |
| 34 | * Given an Error object, extract the most information from it. |
no outgoing calls
no test coverage detected
searching dependent graphs…