[better-retry](../README.md) / FailedAttemptError

# Interface: FailedAttemptError

## Hierarchy

- `Error`

  ↳ **`FailedAttemptError`**

## Table of contents

### Properties

- [attempt](FailedAttemptError.md#attempt)
- [message](FailedAttemptError.md#message)
- [name](FailedAttemptError.md#name)
- [retriesLeft](FailedAttemptError.md#retriesleft)
- [stack](FailedAttemptError.md#stack)

## Properties

### attempt

• **attempt**: `number`

#### Defined in

[src/types.ts:4](https://github.com/tcortega/p-retry/blob/96bcfb0/src/types.ts#L4)

___

### message

• **message**: `string`

#### Inherited from

Error.message

#### Defined in

node_modules/typescript/lib/lib.es5.d.ts:1054

___

### name

• **name**: `string`

#### Inherited from

Error.name

#### Defined in

node_modules/typescript/lib/lib.es5.d.ts:1053

___

### retriesLeft

• **retriesLeft**: `number`

#### Defined in

[src/types.ts:5](https://github.com/tcortega/p-retry/blob/96bcfb0/src/types.ts#L5)

___

### stack

• `Optional` **stack**: `string`

#### Inherited from

Error.stack

#### Defined in

node_modules/typescript/lib/lib.es5.d.ts:1055
