Hoogle Search

Within LTS Haskell 24.6 (ghc-9.10.2)

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

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

    annotated-exception Control.Exception.Annotated

    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.

  2. annotatedExceptionCallStack :: AnnotatedException exception -> Maybe CallStack

    annotated-exception Control.Exception.Annotated

    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.

  3. displayException :: Exception e => e -> String

    annotated-exception Control.Exception.Annotated

    Render this exception value in a human-friendly manner. Default implementation: show.

  4. fromException :: Exception e => SomeException -> Maybe e

    annotated-exception Control.Exception.Annotated

    No documentation available.

  5. toException :: Exception e => e -> SomeException

    annotated-exception Control.Exception.Annotated

    toException should produce a SomeException with no attached ExceptionContext.

  6. data AnnotatedException exception

    annotated-exception Control.Exception.Annotated.UnliftIO

    The AnnotatedException type wraps an exception with a [Annotation]. This can provide a sort of a manual stack trace with programmer provided data.

  7. AnnotatedException :: [Annotation] -> exception -> AnnotatedException exception

    annotated-exception Control.Exception.Annotated.UnliftIO

    No documentation available.

  8. data SomeException

    annotated-exception Control.Exception.Annotated.UnliftIO

    The SomeException type is the root of the exception type hierarchy. When an exception of type e is thrown, behind the scenes it is encapsulated in a SomeException.

  9. SomeException :: e -> SomeException

    annotated-exception Control.Exception.Annotated.UnliftIO

    No documentation available.

  10. 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.

Page 29 of many | Previous | Next