MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / driverRejection

Function driverRejection

packages/core/sdk/src/fuma-runtime.test.ts:249–251  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

247describe("fumaEffect", () => {
248 it("maps a rejected driver promise onto the classified failure", async () => {
249 const driverRejection = () =>
250 // oxlint-disable-next-line executor/no-promise-reject -- boundary: fumaEffect's whole contract is adapting a rejected driver promise
251 Promise.reject(drizzleQueryError(SQL, PARAMS, postgresConnectionError("CONNECTION_ENDED")));
252
253 const exit = await Effect.runPromiseExit(
254 fumaEffect("plugin_storage.findFirst", driverRejection),

Callers

nothing calls this directly

Calls 2

drizzleQueryErrorFunction · 0.85
postgresConnectionErrorFunction · 0.85

Tested by

no test coverage detected