# 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/a357903312114c6c08952de2c9edc51c713367be/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
