Unwraps a PostgreSQL serialization failure or deadlock from a MessageError so transaction helpers that check err.code (e.g. zapatos) can retry.
err.code
The caught error
The inner PostgreSQL error if retryable, otherwise the given error
Unwraps a PostgreSQL serialization failure or deadlock from a MessageError so transaction helpers that check
err.code(e.g. zapatos) can retry.