Copyright | (c) The University of Glasgow 1998-2002 |
---|---|
License | see libraries/base/LICENSE |
Maintainer | cvs-ghc@haskell.org |
Stability | internal |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Exception annotations.
Synopsis
- data SomeExceptionAnnotation = ExceptionAnnotation a => SomeExceptionAnnotation a
- class Typeable a => ExceptionAnnotation a where
- displayExceptionAnnotation :: a -> String
Documentation
class Typeable a => ExceptionAnnotation a where Source #
ExceptionAnnotation
s are types which can decorate exceptions as
ExceptionContext
.
@since base-4.20.0.0
Nothing
displayExceptionAnnotation :: a -> String Source #
Render the annotation for display to the user.
default displayExceptionAnnotation :: Show a => a -> String Source #