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.
OptionalcauseDecoded ReturnFlags from contract call result.
The language-specific error that occurred during the instantiation.
The raw result of the contract instantiation.
OptionalstackStatic OptionalprepareOptional override for formatting stack traces
Staticstack
Represents an error that occurred during the instantiation of a smart contract due to a language-specific error. This class extends
ContractInstantiateErrorand includes aLangErrorproperty.Ref: https://use.ink/faq/migrating-from-ink-3-to-4#:~:text=Add support for,equivalent LangError.