# OauthCancelledError | @account-kit/signer

> This error is thrown when the OAuth flow is cancelled because the auth popup window was closed.

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

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

Defined in: [account-kit/signer/src/client/index.ts:876](https://github.com/alchemyplatform/aa-sdk/blob/main/account-kit/signer/src/client/index.ts#L876)

This error is thrown when the OAuth flow is cancelled because the auth popup
window was closed.

## Extends

- `BaseError`

## Constructors

### Constructor

```ts
new OauthCancelledError(): OauthCancelledError;
```

Defined in: [account-kit/signer/src/client/index.ts:883](https://github.com/alchemyplatform/aa-sdk/blob/main/account-kit/signer/src/client/index.ts#L883)

Constructor for initializing an error indicating that the OAuth flow was
cancelled.

#### Returns

`OauthCancelledError`

#### Overrides

```ts
BaseError.constructor;
```

## Properties

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

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

      <td>
        `string`
      </td>

      <td>
        `"OauthCancelledError"`
      </td>
    </tr>

  </tbody>
</table>