servant-auth-server-0.4.4.0: servant-server/servant-auth compatibility

Safe HaskellNone
LanguageHaskell2010

Servant.Auth.Server.Internal.ThrowAll

Documentation

class ThrowAll a where #

Methods

throwAll :: ServantErr -> a #

throwAll is a convenience function to throw errors across an entire sub-API

throwAll err400 :: Handler a :<|> Handler b :<|> Handler c
   == throwError err400 :<|> throwError err400 :<|> err400
Instances
ThrowAll Application #

for servant <0.11

Instance details

Defined in Servant.Auth.Server.Internal.ThrowAll

MonadError ServantErr m => ThrowAll (m a) # 
Instance details

Defined in Servant.Auth.Server.Internal.ThrowAll

Methods

throwAll :: ServantErr -> m a #

ThrowAll b => ThrowAll (a -> b) # 
Instance details

Defined in Servant.Auth.Server.Internal.ThrowAll

Methods

throwAll :: ServantErr -> a -> b #

(ThrowAll a, ThrowAll b) => ThrowAll (a :<|> b) # 
Instance details

Defined in Servant.Auth.Server.Internal.ThrowAll

Methods

throwAll :: ServantErr -> a :<|> b #

MonadError ServantErr m => ThrowAll (Tagged m Application) #

for servant >=0.11

Instance details

Defined in Servant.Auth.Server.Internal.ThrowAll