ErrorDescription
Defined in: node_modules/.pnpm/ethers@6.15.0/node_modules/ethers/lib.esm/abi/interface.d.ts:88
When using the [[Interface-parseError]] to automatically match an error for a call result for parsing, an ErrorDescription is returned.
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new ErrorDescription( fragment, selector, args): ErrorDescription;
Defined in: node_modules/.pnpm/ethers@6.15.0/node_modules/ethers/lib.esm/abi/interface.d.ts:112
@_ignore:
Parameters
Section titled “Parameters”Parameter | Type |
---|---|
fragment | ErrorFragment |
selector | string |
args | Result |
Returns
Section titled “Returns”ErrorDescription
Properties
Section titled “Properties”readonly args: Result;
Defined in: node_modules/.pnpm/ethers@6.15.0/node_modules/ethers/lib.esm/abi/interface.d.ts:100
The arguments passed to the Error with revert
.
fragment
Section titled “fragment”readonly fragment: ErrorFragment;
Defined in: node_modules/.pnpm/ethers@6.15.0/node_modules/ethers/lib.esm/abi/interface.d.ts:92
The matching fragment.
readonly name: string;
Defined in: node_modules/.pnpm/ethers@6.15.0/node_modules/ethers/lib.esm/abi/interface.d.ts:96
The name of the Error.
selector
Section titled “selector”readonly selector: string;
Defined in: node_modules/.pnpm/ethers@6.15.0/node_modules/ethers/lib.esm/abi/interface.d.ts:108
The selector for the Error.
signature
Section titled “signature”readonly signature: string;
Defined in: node_modules/.pnpm/ethers@6.15.0/node_modules/ethers/lib.esm/abi/interface.d.ts:104
The full Error signature.