Module

Effect.Postgres.Error.RE

Package
purescript-postgresql
Repository
cakekindel/purescript-postgresql

#RE Source

newtype RE :: Type -> (Type -> Type) -> Type -> Typenewtype RE r m a

ReaderT with ExceptT E

ReaderT r (ExceptT (NonEmptyList Effect.Postgres.Error.Error) m) a

Constructors

Instances

#ParRE Source

newtype ParRE :: Type -> (Type -> Type) -> Type -> Typenewtype ParRE r f a

Constructors

Instances

#finally Source

finally :: forall r m a. Monad m => RE r m Unit -> RE r m a -> RE r m a

#run Source

run :: forall m r a. MonadThrow Error m => RE r m a -> r -> m a

#toExcept Source

toExcept :: forall m r a. RE r m a -> r -> Except m a

#toEither Source

toEither :: forall m r a. RE r m a -> r -> m (Either E a)

#liftExcept Source

liftExcept :: forall m r a. Monad m => Except m a -> RE r m a