general-allocate-0.2.1.4: Exception-safe resource management in more monads
CopyrightCopyright 2022 Shea Levy.
LicenseApache-2.0
Maintainershea@shealevy.com
Safe HaskellSafe-Inferred
LanguageHaskell2010

Data.Exceptable

Description

Provides Exceptable for error types which can be projected into the Haskell exception hierarchy.

Synopsis

Documentation

class Exceptable e where Source #

Types which can be projected into the Haskell exception hierarchy

Instances

Instances details
Exceptable Void Source # 
Instance details

Defined in Data.Exceptable

Exceptable SomeException Source # 
Instance details

Defined in Data.Exceptable

(Show e, Typeable e) => Exceptable (EitherException e) Source # 
Instance details

Defined in Data.Exceptable

Exceptable e => Exceptable (Maybe e) Source # 
Instance details

Defined in Data.Exceptable

(Show e, Typeable e, Exceptable e') => Exceptable (Either e e') Source # 
Instance details

Defined in Data.Exceptable

Exceptable e => Exceptable (e, s) Source # 
Instance details

Defined in Data.Exceptable

Exceptable e => Exceptable (e, s, w) Source # 
Instance details

Defined in Data.Exceptable

Methods

toSomeException :: (e, s, w) -> SomeException Source #

newtype EitherException e Source #

An Exception representing a failure in the Either monad.

Constructors

EitherException e