encoding
Safe HaskellSafe-Inferred
LanguageHaskell2010

Control.Throws

Documentation

class Throws e (m :: Type -> Type) where #

Methods

throwException :: e -> m a #

Instances

Instances details
Throws DecodingException Get # 
Instance details

Defined in Data.Encoding.ByteSource

Throws EncodingException PutM # 
Instance details

Defined in Data.Encoding.ByteSink

Methods

throwException :: EncodingException -> PutM a #

Throws EncodingException PutME # 
Instance details

Defined in Data.Encoding.ByteSink

Throws EncodingException StrictSink # 
Instance details

Defined in Data.Encoding.ByteSink

Throws EncodingException StrictSinkE # 
Instance details

Defined in Data.Encoding.ByteSink

Throws EncodingException StrictSinkExplicit # 
Instance details

Defined in Data.Encoding.ByteSink

Exception e => Throws e Identity # 
Instance details

Defined in Control.Throws

Methods

throwException :: e -> Identity a #

Exception e => Throws e IO # 
Instance details

Defined in Control.Throws

Methods

throwException :: e -> IO a #

Throws e (Either e) # 
Instance details

Defined in Control.Throws

Methods

throwException :: e -> Either e a #

Throws e m => Throws e (ReaderT s m) # 
Instance details

Defined in Control.Throws

Methods

throwException :: e -> ReaderT s m a #

Throws e m => Throws e (StateT s m) # 
Instance details

Defined in Control.Throws

Methods

throwException :: e -> StateT s m a #