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

Function isRpcClientError

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

Source from the content-addressed store, hash-verified

65import { withRunClient } from "./Utils.ts"
66
67const isRpcClientError = (u: unknown): u is RpcClientError => Predicate.isTagged(u, "RpcClientError")
68
69/**
70 * The object-shaped client generated from a union of RPC definitions, with one

Callers 1

makeHttpExchangeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected