# WaitForUserOperationError | @aa-sdk/core

> Error thrown when waiting for user operation request to be mined.  Includes the internal error as well as the request that failed. This request can then be used with dropAndReplaceUserOperation to retry the operation.

> For the complete documentation index, see [llms.txt](/docs/llms.txt).

{/* This file is auto-generated by TypeDoc. Do not edit manually. */}

Defined in: [aa-sdk/core/src/errors/useroperation.ts:45](https://github.com/alchemyplatform/aa-sdk/blob/main/aa-sdk/core/src/errors/useroperation.ts#L45)

Error thrown when waiting for user operation request to be mined.

Includes the internal error as well as the request that failed. This request
can then be used with dropAndReplaceUserOperation to retry the operation.

## Extends

- [`BaseError`](BaseError)

## Constructors

### Constructor

```ts
new WaitForUserOperationError(request, error): WaitForUserOperationError;
```

Defined in: [aa-sdk/core/src/errors/useroperation.ts:50](https://github.com/alchemyplatform/aa-sdk/blob/main/aa-sdk/core/src/errors/useroperation.ts#L50)

#### Parameters

<table>
  <thead>
    <tr>
      <th align="left">Parameter</th>
      <th align="left">Type</th>
      <th align="left">Description</th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `request`
      </td>

      <td>
        [`UserOperationRequest`](../type-aliases/UserOperationRequest)
      </td>

      <td>
        the user operation request that failed
      </td>
    </tr>

    <tr>
      <td>
        `error`
      </td>

      <td>
        `Error`
      </td>

      <td>
        the underlying error that caused the failure
      </td>
    </tr>

  </tbody>
</table>

#### Returns

`WaitForUserOperationError`

#### Overrides

[`BaseError`](BaseError).[`constructor`](BaseError#constructor)

## Properties

<table>
  <thead>
    <tr>
      <th align="left">Property</th>
      <th align="left">Type</th>
      <th align="left">Default value</th>
      <th align="left">Description</th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        <a id="name" /> `name`
      </td>

      <td>
        `string`
      </td>

      <td>
        `"AASDKError"`
      </td>

      <td>
        ‐
      </td>
    </tr>

    <tr>
      <td>
        <a id="request" /> `request`
      </td>

      <td>
        [`UserOperationRequest`](../type-aliases/UserOperationRequest)
      </td>

      <td>
        `undefined`
      </td>

      <td>
        the user operation request that failed
      </td>
    </tr>

    <tr>
      <td>
        <a id="version" /> `version`
      </td>

      <td>
        `string`
      </td>

      <td>
        `VERSION`
      </td>

      <td>
        ‐
      </td>
    </tr>

  </tbody>
</table>