MCPcopy Create free account
hub / github.com/Kilo-Org/cloud / trpc-error.test.ts

File trpc-error.test.ts

services/cloud-agent-next/src/trpc-error.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { describe, expect, it } from 'vitest';
2import { TRPC_ERROR_CODES_BY_KEY } from '@trpc/server/rpc';
3
4import { buildTrpcErrorResponse, createClientError, projectTrpcErrorData } from './trpc-error.js';

Callers

nothing calls this directly

Calls 4

createClientErrorFunction · 0.85
projectTrpcErrorDataFunction · 0.85
buildTrpcErrorResponseFunction · 0.85
jsonMethod · 0.65

Tested by

no test coverage detected