UpgradeToAndCallNotSupportedError
Defined in: aa-sdk/core/src/errors/account.ts:154
Represents an error that occurs when an attempt is made to call UpgradeToAndCall
on an account type that does not support it. Includes the account type in the error message.
Extends
Constructors
Constructor
Defined in: aa-sdk/core/src/errors/account.ts:162
Constructs an error message indicating that UpgradeToAndCall
is not supported by the specified account type.
Parameters
Returns
UpgradeToAndCallNotSupportedError
Overrides
Properties
Methods
walk()
Call Signature
Defined in: node_modules/viem/_types/errors/base.d.ts:26
Returns
Error
Inherited from
Call Signature
Defined in: node_modules/viem/_types/errors/base.d.ts:27
Parameters
Returns
null
| Error
Inherited from
captureStackTrace()
Defined in: node_modules/@types/node/globals.d.ts:145
Creates a .stack
property on targetObject
, which when accessed returns
a string representing the location in the code at which
Error.captureStackTrace()
was called.
The first line of the trace will be prefixed with
${myObject.name}: ${myObject.message}
.
The optional constructorOpt
argument accepts a function. If given, all frames
above constructorOpt
, including constructorOpt
, will be omitted from the
generated stack trace.
The constructorOpt
argument is useful for hiding implementation
details of error generation from the user. For instance:
Parameters
Returns
void
Inherited from
prepareStackTrace()
Defined in: node_modules/@types/node/globals.d.ts:149
Parameters
Returns
any
See
https://v8.dev/docs/stack-trace-api#customizing-stack-traces