# Interface: RetryFnOptions<TInferrable>

> 

Defined in: [packages/client/src/links/retryLink.ts:50](https://github.com/trpc/trpc/blob/5b8ac2f6322053743311f3f21588f99f3ae15e16/packages/client/src/links/retryLink.ts#L50)

What a `retry` function is given.

## Type Parameters

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

## Properties

### attempts

> **attempts**: `number`

Defined in: [packages/client/src/links/retryLink.ts:62](https://github.com/trpc/trpc/blob/5b8ac2f6322053743311f3f21588f99f3ae15e16/packages/client/src/links/retryLink.ts#L62)

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

***

### error

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

Defined in: [packages/client/src/links/retryLink.ts:58](https://github.com/trpc/trpc/blob/5b8ac2f6322053743311f3f21588f99f3ae15e16/packages/client/src/links/retryLink.ts#L58)

The error that occurred

***

### op

> **op**: `Operation`

Defined in: [packages/client/src/links/retryLink.ts:54](https://github.com/trpc/trpc/blob/5b8ac2f6322053743311f3f21588f99f3ae15e16/packages/client/src/links/retryLink.ts#L54)

The operation that failed
