Constructs a new InvalidTokenAmountError.
The number of decimals the token supports.
The token amount that is invalid.
Readonly
amountThe token amount that is invalid.
Readonly
codeOptional
stackReadonly
tokenThe number of decimals the token supports.
Static
Optional
prepareOptional override for formatting stack traces
https://v8.dev/docs/stack-trace-api#customizing-stack-traces
Static
stackGets the name of the error, including its code.
The name of the error.
Static
captureGenerated using TypeDoc
Error type indicating the supplied token amount is not compatible with the token.