Skip to content

Latest commit

 

History

History
90 lines (46 loc) · 1.55 KB

File metadata and controls

90 lines (46 loc) · 1.55 KB

@cyberchain/smart-contract-wrapper


@cyberchain/smart-contract-wrapper / ErrorDescription

Class: ErrorDescription

Defined in: node_modules/@asanrom/ethers-abi/dist/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

Constructor

new ErrorDescription(fragment, selector, args): ErrorDescription

Defined in: node_modules/@asanrom/ethers-abi/dist/abi/interface.d.ts:112

@_ignore:

Parameters

fragment

ErrorFragment

selector

string

args

Result

Returns

ErrorDescription

Properties

args

readonly args: Result

Defined in: node_modules/@asanrom/ethers-abi/dist/abi/interface.d.ts:100

The arguments passed to the Error with revert.


fragment

readonly fragment: ErrorFragment

Defined in: node_modules/@asanrom/ethers-abi/dist/abi/interface.d.ts:92

The matching fragment.


name

readonly name: string

Defined in: node_modules/@asanrom/ethers-abi/dist/abi/interface.d.ts:96

The name of the Error.


selector

readonly selector: string

Defined in: node_modules/@asanrom/ethers-abi/dist/abi/interface.d.ts:108

The selector for the Error.


signature

readonly signature: string

Defined in: node_modules/@asanrom/ethers-abi/dist/abi/interface.d.ts:104

The full Error signature.