HORIZON HASKELLDocslts/ghc-9.10.x248f8f02026-10-05Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · 248f8f0 · 2026-10-05

Moduleservant-auth-server-0.4.9.0Haskell2010

Servant.Auth.Server.Internal.ThrowAll

  • 1 class
classclass ThrowAll a where
#

Methods

  • throwAll :: ServerError -> 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
Instances6ThrowAll