Skip to content
Alchemy Logo

InvalidOwnerError

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

Error class denoting that the owner for an account is invalid

  • BaseError

new InvalidOwnerError(reason): InvalidOwnerError;

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

Initializes a new instance of the error message with a default message indicating that the owner is invalid

Parameters

ParameterTypeDescription

reason

string

the reason the owner is invalid

Returns

InvalidOwnerError

Overrides

BaseError.constructor;

PropertyTypeDefault value

name

string

"InvalidOwnerError"

Was this page helpful?