Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Effect-TS/effect
/ makeErrorSchema
Function
makeErrorSchema
packages/effect/src/unstable/reactivity/AtomRpc.ts:301–306 ·
view source on GitHub ↗
(rpc: Rpc.AnyWithProps)
Source
from the content-addressed store, hash-verified
299
}
300
301
const
makeErrorSchema = (rpc: Rpc.AnyWithProps): Schema.Top =>
302
Schema.Union([
303
rpc.errorSchema,
304
...Array.from(rpc.middlewares, (middleware) => middleware.error),
305
RpcClientError
306
])
Callers
1
Service
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected