Copyright | (c) Anton Gushcha 2016 |
---|---|
License | MIT |
Maintainer | ncrashed@gmail.com |
Stability | experimental |
Portability | Portable |
Safe Haskell | None |
Language | Haskell2010 |
- throw400 :: (MonadError ServantErr m, HasAuthConfig m) => ByteString -> m a
- throw401 :: (MonadError ServantErr m, HasAuthConfig m) => ByteString -> m a
- throw404 :: (MonadError ServantErr m, HasAuthConfig m) => ByteString -> m a
- throw409 :: (MonadError ServantErr m, HasAuthConfig m) => ByteString -> m a
- throw500 :: (MonadError ServantErr m, HasAuthConfig m) => ByteString -> m a
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