Re-export `throwE` from module `Servant`
Fixes #442
commitf484483d8455ecb38c1a64e999e875a024dca937
authorLuke Cycon <luke@lukecycon.com>
dateFri 8 Apr 2016, 12:06 (11 years ago)
parent8bf8119
servant-server/src/Servant.hs+2
@@ -10,8 +10,10 @@ module Servant (
1010 module Servant.Utils.StaticFiles,
1111 -- | Useful re-exports
1212 Proxy(..),
13+ throwError
1314 ) where
1415
16+import Control.Monad.Error.Class (throwError)
1517import Data.Proxy
1618import Servant.API
1719import Servant.Server