# Interface: RetryFnOptions<TInferrable>

> 

Defined in: packages/client/dist/index.d.mts:405

What a `retry` function is given.

## Type Parameters

| Type Parameter |
| ------ |
| `TInferrable` *extends* `InferrableClientTypes` |

## Properties

### attempts

> **attempts**: `number`

Defined in: packages/client/dist/index.d.mts:417

The number of attempts that have been made (including the first call)

***

### error

> **error**: [`TRPCClientError`](https://trpc.io/docs/typedoc/react-query/index/classes/TRPCClientError.md)\<`TInferrable`\>

Defined in: packages/client/dist/index.d.mts:413

The error that occurred

***

### op

> **op**: `Operation`

Defined in: packages/client/dist/index.d.mts:409

The operation that failed
