DecodeFunctionDataError
DecodeFunctionDataError:
TypedError<"DecodeFunctionDataError">
Error thrown when decoding function data fails Not expected to be thrown unless ABI is incorrect
Example
const {errors} = await tevm.call({address: '0x1234'})errors.forEach(error => { if (error.name === 'DecodeFunctionDataError') { console.log(error.message) }})Source
packages/errors/src/utils/DecodeFunctionDataError.ts:14