The type of the contract API. Defaults to GenericContractApi
.
Constructs a new ContractInstantiateLangError
instance.
The LangError
that occurred during the instantiation phase.
The raw result of the contract instantiation.
Optional
causeDecoded ReturnFlags
from contract call result.
The language-specific error that occurred during the instantiation.
The raw result of the contract instantiation.
Optional
stackStatic
Optional
prepareOptional override for formatting stack traces
Static
stack
Represents an error that occurred during the instantiation of a smart contract due to a language-specific error. This class extends
ContractInstantiateError
and includes aLangError
property.Ref: https://use.ink/faq/migrating-from-ink-3-to-4#:~:text=Add support for,equivalent LangError.