Documentation
¶
Overview ¶
Package errorstack captures creation-site stacks for unexpected errors.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Capture ¶
Capture adds a stack unless the error already has one. Call it where an unexpected external error first enters Memento, then use standard %w wrapping above that point.
func CaptureContext ¶
CaptureContext leaves cancellation from ctx stackless and captures other errors. Use it for operations whose context controls expected cancellation.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.