Hoogle Search

Within LTS Haskell 24.52 (ghc-9.10.3)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. exceptionWithCallStack :: (Exception e, HasCallStack) => e -> AnnotatedException e

    annotated-exception Control.Exception.Annotated

    Annotate the underlying exception with a CallStack.

  2. throwWithCallStack :: (HasCallStack, MonadThrow m, Exception e) => e -> m a

    annotated-exception Control.Exception.Annotated

    Attaches the CallStack to the AnnotatedException that is thrown.

  3. unCallStackAnnotation :: CallStackAnnotation -> [(String, SrcLoc)]

    annotated-exception Control.Exception.Annotated

    No documentation available.

  4. newtype CallStackAnnotation

    annotated-exception Control.Exception.Annotated.UnliftIO

    Deprecated: You can just use CallStack directly now.

  5. CallStackAnnotation :: [(String, SrcLoc)] -> CallStackAnnotation

    annotated-exception Control.Exception.Annotated.UnliftIO

    Deprecated: You can just use CallStack directly now.

  6. addCallStackToException :: CallStack -> AnnotatedException exception -> AnnotatedException exception

    annotated-exception Control.Exception.Annotated.UnliftIO

    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.

  7. annotatedExceptionCallStack :: AnnotatedException exception -> Maybe CallStack

    annotated-exception Control.Exception.Annotated.UnliftIO

    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.

  8. checkpointCallStack :: (MonadUnliftIO m, HasCallStack) => m a -> m a

    annotated-exception Control.Exception.Annotated.UnliftIO

    Like checkpointCallStack, but uses MonadUnliftIO instead of MonadCatch.

  9. checkpointCallStackWith :: (MonadUnliftIO m, HasCallStack) => [Annotation] -> m a -> m a

    annotated-exception Control.Exception.Annotated.UnliftIO

    Deprecated: As of annotated-exception-0.2.0.0, this is an alias for checkpointMany

  10. exceptionWithCallStack :: (Exception e, HasCallStack) => e -> AnnotatedException e

    annotated-exception Control.Exception.Annotated.UnliftIO

    Annotate the underlying exception with a CallStack.

Page 700 of many | Previous | Next