packages feed

chatwork-0.1.3.0: test/ChatWork/Test/MonadHttpIO.hs

{-# OPTIONS_GHC -fno-warn-orphans  #-}

-- |
-- This module is that define MonadHttp type class instance of IO.
-- if you want other definition, don't import this module.

module ChatWork.Test.MonadHttpIO where

import           Control.Exception (throwIO)
import           Network.HTTP.Req

instance MonadHttp IO where
  handleHttpException = throwIO