# Type Alias: TRPCClientErrorLike<TInferrable>

> 

> **TRPCClientErrorLike**\<`TInferrable`\>: [`TRPCClientErrorBase`](https://trpc.io/docs/typedoc/react-query/index/interfaces/TRPCClientErrorBase.md)\<`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
