MCPcopy Create free account
hub / github.com/middleapi/orpc / error.test.ts

File error.test.ts

packages/client/src/error.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { NullProtoObj } from '@orpc/shared'
2import { createORPCErrorFromJson, fallbackORPCErrorMessage, fallbackORPCErrorStatus, isDefinedError, isORPCErrorJson, isORPCErrorStatus, ORPCError, toORPCError } from './error'
3
4it('fallbackORPCErrorStatus', () => {

Callers

nothing calls this directly

Calls 8

fallbackORPCErrorStatusFunction · 0.90
fallbackORPCErrorMessageFunction · 0.90
isDefinedErrorFunction · 0.90
toORPCErrorFunction · 0.90
isORPCErrorStatusFunction · 0.90
createORPCErrorFromJsonFunction · 0.90
isORPCErrorJsonFunction · 0.90
toJSONMethod · 0.65

Tested by

no test coverage detected