MCPcopy Create free account
hub / github.com/Effect-TS/effect / getStackTraceLimit

Function getStackTraceLimit

packages/effect/src/internal/stackTraceLimit.ts:45–45  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

43 * @internal
44 */
45export const getStackTraceLimit = (): number | undefined => (Error as ErrorWithStackTraceLimit).stackTraceLimit
46
47/**
48 * Safely set `Error.stackTraceLimit` if possible, otherwise no-op.

Callers 9

ServiceFunction · 0.90
LayerRef.tsFile · 0.90
getFunction · 0.90
ServiceFunction · 0.90
ServiceFunction · 0.90
causePrettyErrorsFunction · 0.90
effect.tsFile · 0.90
makeFnFunction · 0.90
addSpanStackTraceFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected