on master help sign in
Updates handleHttpException documentation (#20)

Updates documentation to reflect that `Control.Monad.Error` has been deprecated and that `Control.Monad.Except` should be preferred.

commitccb0645a1b744f17c90909dca9736c64b2914929 authorJoe Kachmar <joseph.kachmar@gmail.com> dateWed 14 Jun 2017, 01:18 (9 years ago) parent1d7763f
1 file changed+2−2
Network/HTTP/Req.hs+2−2
Network/HTTP/Req.hs+2−2
@@ -473,8 +473,8 @@ class MonadIO m => MonadHttp m where
473473 -- | This method describes how to deal with 'HttpException' that was
474474 -- caught by the library. One option is to re-throw it if you are OK with
475475 -- exceptions, but if you prefer working with something like
476− -- 'Control.Monad.Error.MonadError', this is the right place to pass it to
477− -- 'Control.Monad.Error.throwError'.
476+ -- 'Control.Monad.Except.MonadError', this is the right place to pass it to
477+ -- 'Control.Monad.Except.throwError'.
478478
479479 handleHttpException :: HttpException -> m a
480480