servant-auth-server-0.3.2.0: servant-server/servant-auth compatibility
Servant.Auth.Server.Internal.ThrowAll
Synopsis
class ThrowAll a where Source #
Minimal complete definition
throwAll
Methods
throwAll :: ServantErr -> a Source #
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
for servant <0.11
servant <0.11
throwAll :: ServantErr -> Application Source #
throwAll :: ServantErr -> m a Source #
throwAll :: ServantErr -> a -> b Source #
throwAll :: ServantErr -> a :<|> b Source #
for servant >=0.11
servant >=0.11
throwAll :: ServantErr -> Tagged (* -> *) m Application Source #