parseStackTrace
function
parseStackTrace
Signature
parseStackTrace(err: Error): undefined | Frame[]
If this function returns undefined, that likely means `error.stack` has been already accessed.
Consider calling `captureStackTrace` first to capture the customized stack trace, e.g.,
```ts
captureStackTrace(error)
console.log(error.stack)
...
const safeError = SafeError.from(error) // Works even if `error.stack` has been accessed.
```
Parameters:
err: Error
