Skip to content
Alchemy Logo

InvalidEntityIdError

Defined in: packages/smart-accounts/src/errors/InvalidEntityIdError.ts:6

Error class denoting that the provided entity id is invalid because it's too large.

  • BaseError

new InvalidEntityIdError(entityId): InvalidEntityIdError;

Defined in: packages/smart-accounts/src/errors/InvalidEntityIdError.ts:14

Initializes a new instance of the error message with a default message indicating that the entity id is invalid because it's too large.

Parameters

ParameterTypeDescription

entityId

number

the invalid entityId used

Returns

InvalidEntityIdError

Overrides

BaseError.constructor;

PropertyTypeDefault value

name

string

"InvalidEntityIdError"

Was this page helpful?