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

Function classifyError

packages/sql/libsql/src/LibsqlClient.ts:31–32  ·  view source on GitHub ↗
(cause: unknown, message: string, operation: string)

Source from the content-addressed store, hash-verified

29const ATTR_DB_SYSTEM_NAME = "db.system.name"
30
31const classifyError = (cause: unknown, message: string, operation: string) =>
32 classifySqliteError(cause, { message, operation })
33
34/**
35 * Runtime type identifier used to mark `LibsqlClient` values.

Callers 5

runMethod · 0.70
runRawMethod · 0.70
beginTransactionMethod · 0.70
commitMethod · 0.70
rollbackMethod · 0.70

Calls 1

classifySqliteErrorFunction · 0.90

Tested by

no test coverage detected