CallStack package:annotated-exception

Deprecated: You can just use CallStack directly now.
Deprecated: You can just use CallStack directly now.
Grab an Annotation corresponding to the CallStack that is currently in scope.
Deprecated: You can use CallStack directly in annotations as of 0.2.0.0.
Deprecated: You can just use tryAnnotations directly as of 0.2.0.0.
Stuff a CallStack into an Annotation via the CallStackAnnotation newtype wrapper.
Adds a CallStack to the given AnnotatedException. This function will search through the existing annotations, and it will not add a second CallStack to the list. Instead, it will append the contents of the given CallStack to the existing one. This mirrors the behavior of the way HasCallStack actually works.
Retrieves the CallStack from an AnnotatedException if one is present. The library maintains an internal check that a single CallStack is present in the list, so this only returns the first one found. If you have added a CallStack directly to the [Annotation], then this will likely break.
Adds only the current CallStack to the checkpoint. This function searches any thrown exception for a pre-existing CallStack and will merge the given pre-existing CallStack with the one on this function, in an attempt to preserve the actual call history.
Deprecated: As of 0.2.0.0 this is exactly equivalent to checkpointMany.
Annotate the underlying exception with a CallStack.
Attaches the CallStack to the AnnotatedException that is thrown.
Like checkpointCallStack, but uses MonadUnliftIO instead of MonadCatch.
Deprecated: As of annotated-exception-0.2.0.0, this is an alias for checkpointMany
Like throwWithCallStack, but uses MonadIO instead of MonadThrow.