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

Function classifyError

packages/sql/sqlite-react-native/src/SqliteClient.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 identifier attached to SQLite React Native client values.

Callers 2

runFunction · 0.70
runValuesFunction · 0.70

Calls 1

classifySqliteErrorFunction · 0.90

Tested by

no test coverage detected