MCPcopy Index your code
hub / github.com/getsentry/sentry-javascript / captureStackTrace

Method captureStackTrace

packages/deno/lib.deno.d.ts:14890–14890  ·  view source on GitHub ↗

See https://v8.dev/docs/stack-trace-api#stack-trace-collection-for-custom-exceptions.

(error: Object, constructor?: Function)

Source from the content-addressed store, hash-verified

14888interface ErrorConstructor {
14889 /** See https://v8.dev/docs/stack-trace-api#stack-trace-collection-for-custom-exceptions. */
14890 captureStackTrace(error: Object, constructor?: Function): void;
14891 stackTraceLimit: number;
14892 // TODO(nayeemrmn): Support `Error.prepareStackTrace()`. We currently use this
14893 // internally in a way that makes it unavailable for users.

Callers 2

errFunction · 0.80
EFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected