Package: effect
Module: Cause
Context annotation used to store the stack frame captured at the point of failure.
When to use
Use to read the failure stack-frame annotation from a Reason when building
diagnostics, logging, or custom cause renderers.
Details
The runtime annotates every reason with this when a stack frame is
available. Retrieve it via
Context.get(Cause.reasonAnnotations(reason), Cause.StackTrace).
See
reasonAnnotations for reading annotations from a single reasonannotations for reading merged annotations from a causeInterruptorStackTrace for the interrupt-specific stack-frame annotationSignature
declare class StackTrace
Since v4.0.0