Module

Effect.Postgres.Error.Except

Package
purescript-postgresql
Repository
cakekindel/purescript-postgresql

#Except Source

type Except :: (Type -> Type) -> Type -> Typetype Except m = ExceptT E m

#run Source

run :: forall m a. MonadThrow Error m => Except m a -> m a

#toEither Source

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

#with Source

with :: forall e m a. MonadError e m => (e -> Error) -> m a -> Except m a

#withEither Source

withEither :: forall e m a. Monad m => (e -> Error) -> m (Either e a) -> Except m a

#exception Source

exception :: forall m a. MonadError Error m => m a -> Except m a

#executing Source

executing :: forall m a. MonadError Error m => Query -> m a -> Except m a

#parsing Source

parsing :: forall m a. MonadEffect m => Query -> RepT a -> Except m a

#printing Source

printing :: forall m a. MonadEffect m => RepT a -> Except m a