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

Function classifyError

packages/sql/sqlite-wasm/src/SqliteClient.ts:41–42  ·  view source on GitHub ↗
(cause: unknown, message: string, operation: string)

Source from the content-addressed store, hash-verified

39const ATTR_DB_SYSTEM_NAME = "db.system.name"
40
41const classifyError = (cause: unknown, message: string, operation: string) =>
42 classifySqliteError(cause, { message, operation })
43
44/**
45 * Runtime identifier attached to SQLite WASM client values.

Callers 6

makeMemoryFunction · 0.70
runFunction · 0.70
executeStreamFunction · 0.70
importFunction · 0.70
onMessageFunction · 0.70
onErrorFunction · 0.70

Calls 1

classifySqliteErrorFunction · 0.90

Tested by

no test coverage detected