on master help sign in
Re-export `throwE` from module `Servant`
f484483Luke Cycon
servant-server/src/Servant.hs+2
@@ -10,8 +10,10 @@ module Servant (
10 module Servant.Utils.StaticFiles,
10 module Servant.Utils.StaticFiles,
11 -- | Useful re-exports
11 -- | Useful re-exports
12 Proxy(..),
12 Proxy(..),
13+ throwError
13 ) where
14 ) where
14
15
16+import Control.Monad.Error.Class (throwError)
15import Data.Proxy
17import Data.Proxy
16import Servant.API
18import Servant.API
17import Servant.Server
19import Servant.Server