Skip to content

AbiError

A value that is not what its Solidity type allows, or bytes that are not the ABI encoding of it: an amount out of range, data cut short, a signature that does not parse. It is a value in the error channel, as every failure is.

import { AbiError } from "@ethect/core";
Property Type Holds
_tag "AbiError" the tag Effect.catchTag matches
message string which value or which bytes, and why
By When
Abi and Fn a value cannot be encoded as its type, or bytes cannot be decoded as it
Call and Tx the arguments of a call cannot be encoded, or what a node returned cannot be decoded
Type Is
AbiError.AbiError the error