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

Function setStackTraceLimit

packages/effect/src/internal/stackTraceLimit.ts:55–59  ·  view source on GitHub ↗
(value: number | undefined)

Source from the content-addressed store, hash-verified

53 * @internal
54 */
55export const setStackTraceLimit = (value: number | undefined): void => {
56 if (canWriteStackTraceLimit) {
57 ;(Error as ErrorWithStackTraceLimit).stackTraceLimit = value
58 }
59}

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