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

Function isRpcClientError

packages/effect/src/unstable/rpc/RpcClient.ts:55–55  ·  view source on GitHub ↗
(u: unknown)

Source from the content-addressed store, hash-verified

53import { withRunClient } from "./Utils.ts"
54
55const isRpcClientError = (u: unknown): u is RpcClientError => Predicate.isTagged(u, "RpcClientError")
56
57/**
58 * The object-shaped client generated from a union of RPC definitions, with one

Callers 1

makeProtocolHttpFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected