MCPcopy Index your code
hub / github.com/CodebuffAI/codebuff / isRetryablePostgresError

Function isRetryablePostgresError

packages/internal/src/db/transaction.ts:158–160  ·  view source on GitHub ↗
(error: unknown)

Source from the content-addressed store, hash-verified

156 * Checks if an error is a retryable PostgreSQL error.
157 */
158export function isRetryablePostgresError(error: unknown): boolean {
159 return getRetryableErrorDescription(error) !== null
160}
161
162/**
163 * Executes a database transaction with SERIALIZABLE isolation level and automatic

Callers 1

Calls 1

Tested by

no test coverage detected