Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/middleapi/orpc
/ error.test.ts
File
error.test.ts
packages/contract/src/error.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
type
{ ErrorMap } from
'./error'
2
import
{ ORPCError } from
'@orpc/client'
3
import
z from
'zod'
4
import
{ baseErrorMap } from
'../tests/shared'
Callers
nothing calls this directly
Calls
3
mergeErrorMap
Function · 0.90
validateORPCError
Function · 0.90
transform
Method · 0.65
Tested by
no test coverage detected