> ## Documentation Index
> Fetch the complete documentation index at: https://docs.qu.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# ActionRejectedError

This Error indicates a request was rejected by the user.

In most clients (such as MetaMask), when an operation requires user authorization (such as `signer.sendTransaction`),
the client presents a dialog box to the user. If the user denies the request this error is thrown.

## Extends

* [`quaisError`](/sdk/content/interfaces/quaisError)\<`"ACTION_REJECTED"`>

## Properties

| Property       | Type                                                                                                                      | Description                                                                                                                                                                                              | Inherited from                                                    |
| :------------- | :------------------------------------------------------------------------------------------------------------------------ | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | :---------------------------------------------------------------- |
| `action`       | \| `"unknown"` \| `"sendTransaction"` \| `"signTransaction"` \| `"signMessage"` \| `"signTypedData"` \| `"requestAccess"` | The requested action.                                                                                                                                                                                    | -                                                                 |
| `code`         | [`ErrorCode`](/sdk/content/type-aliases/ErrorCode)                                                                        | The string error code.                                                                                                                                                                                   | [`quaisError`](/sdk/content/interfaces/quaisError).`code`         |
| `error?`       | `Error`                                                                                                                   | Any related error.                                                                                                                                                                                       | [`quaisError`](/sdk/content/interfaces/quaisError).`error`        |
| `info?`        | `Record`\<`string`, `any`>                                                                                                | Additional info regarding the error that may be useful.<br /><br />This is generally helpful mostly for human-based debugging.                                                                           | [`quaisError`](/sdk/content/interfaces/quaisError).`info`         |
| `reason`       | `"rejected"` \| `"pending"` \| `"expired"`                                                                                | The reason the action was rejected.<br /><br />If there is already a pending request, some clients may indicate there is already a `"pending"` action. This<br />prevents an app from spamming the user. | -                                                                 |
| `shortMessage` | `string`                                                                                                                  | A short message describing the error, with minimal additional details.                                                                                                                                   | [`quaisError`](/sdk/content/interfaces/quaisError).`shortMessage` |
