servant-auth-token-0.4.6.0: Servant based API and server for token based authorisation

Copyright(c) Anton Gushcha 2016
LicenseMIT
Maintainerncrashed@gmail.com
Stabilityexperimental
PortabilityPortable
Safe HaskellNone
LanguageHaskell2010

Servant.Server.Auth.Token.Error

Description

 

Synopsis

Documentation

throw400 :: (MonadError ServantErr m, HasAuthConfig m) => ByteString -> m a Source #

Wrappers to throw corresponding servant errors

throw401 :: (MonadError ServantErr m, HasAuthConfig m) => ByteString -> m a Source #

Wrappers to throw corresponding servant errors

throw404 :: (MonadError ServantErr m, HasAuthConfig m) => ByteString -> m a Source #

Wrappers to throw corresponding servant errors

throw409 :: (MonadError ServantErr m, HasAuthConfig m) => ByteString -> m a Source #

Wrappers to throw corresponding servant errors

throw500 :: (MonadError ServantErr m, HasAuthConfig m) => ByteString -> m a Source #

Wrappers to throw corresponding servant errors