HORIZON HASKELLDocslts/ghc-10.0.x8c2f8e82026-10-19Search names, modules, packages, or :: a typeCtrl K

GHC 10.0.0.20260917 · lts/ghc-10.0.x · 8c2f8e8 · 2026-10-19

Modulefused-effects-1.1.2.7Haskell2010

Control.Effect.Error

An effect modelling catchable failure with a polymorphic error type, the combination of Throw and Catch.

This effect is similar to the traditional MonadError typeclass, though it allows the presence of multiple Error effects in a given effect stack. It offers precise exception handling, rather than the dynamic exception hierarchy provided by the exceptions package. The fused-effects-exceptions package may be more suitable for handling dynamic/impure effect handling.

Predefined carriers:

  • 1 type

Error effects

1 declaration