cleveland-0.3.1: Testing framework for Morley.
Safe HaskellSafe-Inferred
LanguageHaskell2010

Test.Cleveland.Internal.Exceptions.CallStack

Description

This module defines CallStackAnnotation and required helpers and instances to use it with ExceptionAnnotation.

Synopsis

Documentation

addCallStack :: (MonadCatch m, HasCallStack) => m a -> m a Source #

A convenience synonym for annotateExceptions (CallStackAnnotation callStack).

mergeCallStacks :: CallStack -> CallStack -> CallStack Source #

Merge two CallStacks, removing duplicates, but keeping the ordering.