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

Function isSqlError

packages/effect/src/unstable/sql/SqlError.ts:429–429  ·  view source on GitHub ↗
(u: unknown)

Source from the content-addressed store, hash-verified

427 * @since 4.0.0
428 */
429export const isSqlError = (u: unknown): u is SqlError => Predicate.hasProperty(u, TypeId)
430
431/**
432 * Returns `true` when a value is a `SqlErrorReason`.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected