- #32
- Fixed the tests for GHC 9.10
- #31
- The
Show
instance forAnnotatedException
attempts to peek into theSomeException
to provide a more useful exception type. Also gives the output ofshow
.
- The
- #30
- The
Show
anddisplayException
now render the annotated exception in a much nicer way.
- The
- #27
- Ensure that
flatten
combinesCallStack
s even when the callstack is attached manually.
- Ensure that
- #18
- Add
checkpointCallStack
even whencatch
doesn't catch anAnnotatedException
- Add
- #17
- Add
HasCallStack
tocatch
andcatches
- Add
- #14
- Define
Control.Exception.Annotated.UnliftIO.checkpointCallStack
without re-exporting theMonadCatch
variant. Sigh.
- Define
- #13
- Fixed a bug in
UnliftIO.catches
where it would infinitely recurse.
- Fixed a bug in
- #12
- Removed the
Eq
instance forAnnotation
as well as theEq
constraint inAnnC
. These instances were only used for testing, and prevented the natural use ofCallStack
in a[Annotation]
. - Removed the
Eq
instance forAnnotatedException
as a consequence of dropping theEq
instance onAnnotation
. - Removed the
new
function. Usepure
orexceptionWithCallStack
instead. - Fixed a double-annotation bug in
checkpointCallStackWith
. checkpointCallStack
appends to the call-site list.- Pretty much everything now merges the
CallStack
s together.throw
includes aCallStack
, as docheckpoint
andcheckpointMany
.
- Removed the
- #8
- There was a bug where catching or trying to catch an exception of the
wrong type would trigger an infinite loop as the
fromException
method kept digging and digging and would be unable to make things work out. ThefromException
code no longer tries to flatten out these exceptions. However,toException
does flatten it, so all tests still pass.
- There was a bug where catching or trying to catch an exception of the
wrong type would trigger an infinite loop as the
- #6
- Add
Control.Exception.Annotated.UnliftIO
that usesMonadUnliftIO
instead ofMonadCatch
andMonadThrow
. - Actually expose
catches
- Add
- #4
- Add
catches
- Replace
Control.Exception.Safe.try
withtry
that can get anAnnotatedException e
or a regular, un-Annotated
e
.
- Add
- Initial Release