Skip to content
Alchemy Logo

FailedToGetStorageSlotError

Defined in: aa-sdk/core/src/errors/account.ts:105

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.

new FailedToGetStorageSlotError(slot, slotDescriptor): FailedToGetStorageSlotError;

Defined in: aa-sdk/core/src/errors/account.ts:114

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

Parameters

ParameterTypeDescription

slot

string

The storage slot that failed to be accessed or retrieved

slotDescriptor

string

A description of the storage slot, for additional context in the error message

Returns

FailedToGetStorageSlotError

Overrides

BaseError.constructor

PropertyTypeDefault value

name

string

"FailedToGetStorageSlotError"

version

string

VERSION

Was this page helpful?