packages feed

ghc-internal-9.1204.0: src/GHC/Internal/Exception/Backtrace.hs-boot

{-# LANGUAGE NoImplicitPrelude #-}
{-# LANGUAGE RoleAnnotations #-}

module GHC.Internal.Exception.Backtrace where

import GHC.Internal.Base (IO)
import GHC.Internal.Stack.Types (HasCallStack)
import GHC.Internal.Exception.Context (SomeExceptionAnnotation)

-- For GHC.Exception
collectExceptionAnnotation :: HasCallStack => IO SomeExceptionAnnotation