message-db-0.1.0.0: Client library for Message-DB installed in PostgreSQL.
Safe HaskellNone
LanguageHaskell2010

MessageDb.Subscription.FailureStrategy

Description

Strategies for dealing with message handle failures.

Synopsis

Documentation

ignoreFailures :: FailureStrategy Source #

Do nothing, ignore all failures.

writeToCategory :: (FailureReason -> Bool) -> WithConnection -> CategoryName -> FailureStrategy Source #

Write a failure to a category. Use shouldKeep to filter out message failures you don't want to log.