Skip to content

extractStack

extractStack(error): string | null

Defined in: packages/core/src/observe/categorize.ts:78

Extracts a stack string from a thrown value. Returns null for non-Error throws that have no stack.

unknown

string | null