UpgradesNotSupportedError
Defined in: aa-sdk/core/src/errors/account.ts:74
An error class representing the condition where upgrades are not supported for a specific account type. This error extends the BaseError
class and provides a custom error message based on the account type.
Extends
Constructors
Constructor
Defined in: aa-sdk/core/src/errors/account.ts:82
Error constructor for indicating that upgrades are not supported by the given account type.
Parameters
Returns
UpgradesNotSupportedError
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