> ## 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`](https://docs.qu.ai/sdk/content/interfaces/quaisError)\<`"ACTION_REJECTED"`>

## Properties

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


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.