The type of the contract API. Defaults to GenericContractApi.
The error to be checked. This should be an instance of Error.
true if the error is an instance of ContractDispatchError, false otherwise.
This function returns a boolean value indicating whether the provided error is of type ContractDispatchError.
Checks if the provided error is an instance of
ContractDispatchError.This function is used to determine if a given error is a result of a dispatch error during a smart contract call.