Skip to content

formatErrorStack

formatErrorStack(errorStack, options?): string[]

Defined in: packages/core/src/error/format-error-stack.ts:28

Format an error stack back to its original form.

ErrorStack

The error stack to format

FormatStackTraceOptions

Options for formatting the stack trace

string[]

The formatted error stack as an array of strings (one per line)