encoding-0.10.2: A library for various character encodings

Safe Haskell | Safe-Inferred
Language | Haskell2010

Control.Throws

# Documentation

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

Methods

throwException :: e -> m a Source #

#### Instances

Instances details

Throws DecodingException Get Source # |
Instance details Defined in Data.Encoding.ByteSource Methods throwException :: DecodingException -> Get a Source #
Throws EncodingException PutM Source # |
Instance details Defined in Data.Encoding.ByteSink Methods throwException :: EncodingException -> PutM a Source #
Throws EncodingException PutME Source # |
Instance details Defined in Data.Encoding.ByteSink Methods throwException :: EncodingException -> PutME a Source #
Throws EncodingException StrictSink Source # |
Instance details Defined in Data.Encoding.ByteSink Methods throwException :: EncodingException -> StrictSink a Source #
Throws EncodingException StrictSinkE Source # |
Instance details Defined in Data.Encoding.ByteSink Methods throwException :: EncodingException -> StrictSinkE a Source #
Throws EncodingException StrictSinkExplicit Source # |
Instance details Defined in Data.Encoding.ByteSink Methods throwException :: EncodingException -> StrictSinkExplicit a Source #
Exception e => Throws e Identity Source # |
Instance details Defined in Control.Throws Methods throwException :: e -> Identity a Source #
Exception e => Throws e IO Source # |
Instance details Defined in Control.Throws Methods throwException :: e -> IO a Source #
Throws e (Either e) Source # |
Instance details Defined in Control.Throws Methods throwException :: e -> Either e 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 #
Throws e m => Throws e (StateT s m) Source # |
Instance details Defined in Control.Throws Methods throwException :: e -> StateT s m a Source #