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.
Optional
causeDecoded ReturnFlags
from contract call result.
The language-specific error that occurred during the execution.
The raw result of the contract call.
Optional
stackStatic
Optional
prepareOptional override for formatting stack traces
Static
stack
Represents an error that occurred during the execution of a smart contract call due to a language-specific error. This class extends
ContractExecutionError
and includes aLangError
property.Ref: https://use.ink/faq/migrating-from-ink-3-to-4#:~:text=Add support for,equivalent LangError.