Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
class ThrowAll a where Source #
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
ThrowAll Application Source # | for |
Defined in Servant.Auth.Server.Internal.ThrowAll throwAll :: ServantErr -> Application Source # | |
MonadError ServantErr m => ThrowAll (m a) Source # | |
Defined in Servant.Auth.Server.Internal.ThrowAll throwAll :: ServantErr -> m a Source # | |
ThrowAll b => ThrowAll (a -> b) Source # | |
Defined in Servant.Auth.Server.Internal.ThrowAll throwAll :: ServantErr -> a -> b Source # | |
(ThrowAll a, ThrowAll b) => ThrowAll (a :<|> b) Source # | |
Defined in Servant.Auth.Server.Internal.ThrowAll throwAll :: ServantErr -> a :<|> b Source # | |
MonadError ServantErr m => ThrowAll (Tagged m Application) Source # | for |
Defined in Servant.Auth.Server.Internal.ThrowAll throwAll :: ServantErr -> Tagged m Application Source # |