MCPcopy Create free account
hub / github.com/effect-app/libs / classifyError

Function classifyError

repos/effect/packages/sql/sqlite-node/src/SqliteClient.ts:32–33  ·  view source on GitHub ↗
(cause: unknown, message: string, operation: string)

Source from the content-addressed store, hash-verified

30import type { Connection } from "effect/unstable/sql/SqlConnection"
31import { classifySqliteError, SqlError } from "effect/unstable/sql/SqlError"
32import * as Statement from "effect/unstable/sql/Statement"
33import { backup as backupDatabase, DatabaseSync } from "node:sqlite"
34import type { StatementSync } from "node:sqlite"
35
36const ATTR_DB_SYSTEM_NAME = "db.system.name"

Callers 6

makeFunction · 0.70
runStatementFunction · 0.70
runValuesFunction · 0.70
runValuesUnpreparedFunction · 0.70
backupFunction · 0.70
loadExtensionFunction · 0.70

Calls 1

classifySqliteErrorFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…