MCPcopy Create free account
hub / github.com/Effect-TS/effect / SqlErrorClassification.test.ts

File SqlErrorClassification.test.ts

packages/sql/pg/test/SqlErrorClassification.test.ts  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { classifySqlState } from "@effect/sql-pg/internal/sqlError"
2import { assert, describe, it } from "@effect/vitest"
3import type * as SqlError from "effect/sql/SqlError"
4

Callers

nothing calls this directly

Calls 3

queryFailureReasonFunction · 0.85
assertUniqueViolationFunction · 0.70
describeFunction · 0.50

Tested by

no test coverage detected