Safe Haskell | None |
---|---|
Language | Haskell2010 |
Servant.Auth.Server.Internal.ThrowAll
Documentation
class ThrowAll a where Source #
Methods
throwAll :: ServerError -> 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