encoding-0.8.5: A library for various character encodings

Safe HaskellSafe
LanguageHaskell2010

Control.Throws

Documentation

class Throws e m where Source #

Methods

throwException :: e -> m a Source #

Instances
Exception e => Throws e IO Source # 
Instance details

Defined in Control.Throws

Methods

throwException :: e -> IO a Source #

Exception e => Throws e Identity Source # 
Instance details

Defined in Control.Throws

Methods

throwException :: e -> Identity a Source #

Throws DecodingException Get Source # 
Instance details

Defined in Data.Encoding.ByteSource

Throws EncodingException PutM Source # 
Instance details

Defined in Data.Encoding.ByteSink

Throws EncodingException StrictSinkExplicit Source # 
Instance details

Defined in Data.Encoding.ByteSink

Throws EncodingException StrictSinkE Source # 
Instance details

Defined in Data.Encoding.ByteSink

Throws EncodingException StrictSink Source # 
Instance details

Defined in Data.Encoding.ByteSink

Throws EncodingException PutME Source # 
Instance details

Defined in Data.Encoding.ByteSink

Throws e (Either e) Source # 
Instance details

Defined in Control.Throws

Methods

throwException :: e -> Either e a Source #

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

Defined in Control.Throws

Methods

throwException :: e -> StateT s m a Source #

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

Defined in Control.Throws

Methods

throwException :: e -> ReaderT s m a Source #