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

Function classifyError

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

Source from the content-addressed store, hash-verified

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

Callers 6

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

Calls 1

classifySqliteErrorFunction · 0.90

Tested by

no test coverage detected