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

Function classifyError

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

Source from the content-addressed store, hash-verified

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

Callers 3

runStatementFunction · 0.70
runValuesFunction · 0.70

Calls 1

classifySqliteErrorFunction · 0.90

Tested by

no test coverage detected