Skip to content

CaptureV8StackTraceOptions

CaptureV8StackTraceOptions = object

Defined in: packages/core/src/error/capture-v8-stack-trace.ts:7

optional maxFrames?: number

Defined in: packages/core/src/error/capture-v8-stack-trace.ts:23

Maximum number of stack frames to capture.

Defaults to Infinity.


optional reference?: Function

Defined in: packages/core/src/error/capture-v8-stack-trace.ts:16

A function to use as the reference point for the stack trace.

The stack frames above the function will be skipped (including the function itself).

Defaults to the captureV8StackTrace function itself.