# FailedToGetStorageSlotError | @aa-sdk/core

> Custom error class `FailedToGetStorageSlotError` which is used to signal a failure when attempting to retrieve a storage slot. This error includes the slot and slot descriptor in its message and inherits from `BaseError`.

> 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/account.ts:105](https://github.com/alchemyplatform/aa-sdk/blob/main/aa-sdk/core/src/errors/account.ts#L105)

Custom error class `FailedToGetStorageSlotError` which is used to signal a failure when attempting to retrieve a storage slot. This error includes the slot and slot descriptor in its message and inherits from `BaseError`.

## Extends

- [`BaseError`](BaseError)

## Constructors

### Constructor

```ts
new FailedToGetStorageSlotError(slot, slotDescriptor): FailedToGetStorageSlotError;
```

Defined in: [aa-sdk/core/src/errors/account.ts:114](https://github.com/alchemyplatform/aa-sdk/blob/main/aa-sdk/core/src/errors/account.ts#L114)

Custom error message constructor for failing to get a specific storage slot.

#### Parameters

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

  <tbody>
    <tr>
      <td>
        `slot`
      </td>

      <td>
        `string`
      </td>

      <td>
        The storage slot that failed to be accessed or retrieved
      </td>
    </tr>

    <tr>
      <td>
        `slotDescriptor`
      </td>

      <td>
        `string`
      </td>

      <td>
        A description of the storage slot, for additional context in the error message
      </td>
    </tr>

  </tbody>
</table>

#### Returns

`FailedToGetStorageSlotError`

#### 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>
    </tr>
  </thead>

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

      <td>
        `string`
      </td>

      <td>
        `"FailedToGetStorageSlotError"`
      </td>
    </tr>

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

      <td>
        `string`
      </td>

      <td>
        `VERSION`
      </td>
    </tr>

  </tbody>
</table>