MCPcopy Create free account
hub / github.com/Effect-TS/effect / pinReleasedError

Function pinReleasedError

packages/sql/pg/src/PgConnection.ts:1621–1622  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1619 new SqlError({ reason: new ConnectionError({ cause, message, operation: "query" }) })
1620
1621const pinReleasedError = (): SqlError =>
1622 connectionQueryError(new Error("Pinned connection was released"), "PgConnection: Pinned connection was released")
1623
1624const unconfirmedCancelError = (): SqlError =>
1625 connectionQueryError(

Callers 3

cycleMethod · 0.85
streamRowsFunction · 0.85
listenChannelFunction · 0.85

Calls 1

connectionQueryErrorFunction · 0.85

Tested by

no test coverage detected