# Type Alias: TRPCClientErrorLike<TInferrable>

> 

> **TRPCClientErrorLike**\<`TInferrable`\>: [`TRPCClientErrorBase`](https://trpc.io/docs/typedoc/client/index/interfaces/TRPCClientErrorBase.md)\<`inferErrorShape`\<`TInferrable`\>\>

Defined in: [packages/client/src/TRPCClientError.ts:27](https://github.com/trpc/trpc/blob/7c907acfd8b31929214792e3b8c2ad7a8ac72563/packages/client/src/TRPCClientError.ts#L27)

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
