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

Function classifyError

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

Source from the content-addressed store, hash-verified

34const MAX_BUSY_TIMEOUT = 2_147_483_647
35
36const classifyError = (cause: unknown, message: string, operation: string) =>
37 classifySqliteError(cause, { message, operation })
38
39/**
40 * Runtime type identifier used to mark Bun `SqliteClient` values.

Callers 3

runFunction · 0.70
runValuesFunction · 0.70
makeFunction · 0.70

Calls 1

classifySqliteErrorFunction · 0.90

Tested by

no test coverage detected