Control.Exception.Annotation

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

Description

Exception annotations.

data SomeExceptionAnnotation Source

class Typeable a => ExceptionAnnotation a where Source

ExceptionAnnotations are types which can decorate exceptions as ExceptionContext.

Since: base-4.20.0.0

Minimal complete definition

Nothing

Methods

displayExceptionAnnotation :: a -> String Source

Render the annotation for display to the user.

© The University of Glasgow and others
Licensed under a BSD-style license (see top of the page).
https://downloads.haskell.org/~ghc/9.12.1/docs/libraries/base-4.21.0.0-8e62/Control-Exception-Annotation.html