Skip to content

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.

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:

ParameterType
fragmentErrorFragment
selectorstring
argsResult

ErrorDescription

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.


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.


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.


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.