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

Function classifyError

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

Source from the content-addressed store, hash-verified

38const ATTR_DB_SYSTEM_NAME = "db.system.name"
39
40const classifyError = (cause: unknown, message: string, operation: string) =>
41 classifySqliteError(cause, { message, operation })
42
43/**
44 * Runtime type identifier used to mark Cloudflare Durable Object `SqliteClient` values.

Callers 4

openFunction · 0.70
runStatementFunction · 0.70
runValuesFunction · 0.70
executeStreamFunction · 0.70

Calls 1

classifySqliteErrorFunction · 0.90

Tested by

no test coverage detected