Skip to content
tRPC

Partners

Type Alias: TRPCClientErrorLike<TInferrable>

On this page

TRPCClientErrorLike<TInferrable>: TRPCClientErrorBase<inferErrorShape<TInferrable>>

Defined in: packages/client/dist/types-DO-GCB2q.d.mts:110

The shape of a client error for a router or procedure, without the class. Use it to type errors you pass around, such as in React state.

Type Parameters

Type Parameter
TInferrable extends InferrableClientTypes

See

https://trpc.io/docs/client/vanilla/infer-types#infer-trpcclienterror-types