The type of the contract API. Defaults to GenericContractApi.
Constructs a new ContractLangError instance.
The LangError that occurred during the execution phase.
The raw result of the contract call.
OptionalcauseDecoded ReturnFlags from contract call result.
The language-specific error that occurred during the execution.
The raw result of the contract call.
OptionalstackStatic OptionalprepareOptional override for formatting stack traces
Staticstack
Represents an error that occurred during the execution of a smart contract call due to a language-specific error. This class extends
ContractExecutionErrorand includes aLangErrorproperty.Ref: https://use.ink/faq/migrating-from-ink-3-to-4#:~:text=Add support for,equivalent LangError.