Spec-Zone.ru › Haskell 9

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

Constructors

ExceptionAnnotation a => SomeExceptionAnnotation a

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.

default displayExceptionAnnotation :: Show a => a -> String Source

Instances
Instances details
ExceptionAnnotation Backtraces Source
Instance details

Defined in GHC.Internal.Exception.Backtrace

Methods

displayExceptionAnnotation :: Backtraces -> String Source

ExceptionAnnotation WhileHandling Source
Instance details

Defined in GHC.Internal.Exception.Type

Methods

displayExceptionAnnotation :: WhileHandling -> String Source

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

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API