@cyberchain/smart-contract-wrapper
@cyberchain/smart-contract-wrapper / ErrorFragment
Defined in: node_modules/@asanrom/ethers-abi/dist/abi/fragments.d.ts:265
A Fragment which represents a //Custom Error//.
readonlyinputs: readonlyParamType[]
Defined in: node_modules/@asanrom/ethers-abi/dist/abi/fragments.d.ts:213
The inputs for the fragment.
readonlyname:string
Defined in: node_modules/@asanrom/ethers-abi/dist/abi/fragments.d.ts:256
The name of the fragment.
readonlytype:FragmentType
Defined in: node_modules/@asanrom/ethers-abi/dist/abi/fragments.d.ts:209
The type of the fragment.
get selector():
string
Defined in: node_modules/@asanrom/ethers-abi/dist/abi/fragments.d.ts:273
The Custom Error selector.
string
format(
format?):string
Defined in: node_modules/@asanrom/ethers-abi/dist/abi/fragments.d.ts:277
Returns a string representation of this fragment as %%format%%.
string
staticfrom(obj):ErrorFragment
Defined in: node_modules/@asanrom/ethers-abi/dist/abi/fragments.d.ts:281
Returns a new ErrorFragment for %%obj%%.
any
ErrorFragment
staticisConstructor(value):value is ConstructorFragment
Defined in: node_modules/@asanrom/ethers-abi/dist/abi/fragments.d.ts:230
Returns true if %%value%% is a [[ConstructorFragment]].
any
value is ConstructorFragment
staticisError(value):value is ErrorFragment
Defined in: node_modules/@asanrom/ethers-abi/dist/abi/fragments.d.ts:234
Returns true if %%value%% is an [[ErrorFragment]].
any
value is ErrorFragment
staticisEvent(value):value is EventFragment
Defined in: node_modules/@asanrom/ethers-abi/dist/abi/fragments.d.ts:238
Returns true if %%value%% is an [[EventFragment]].
any
value is EventFragment
staticisFragment(value):value is ErrorFragment
Defined in: node_modules/@asanrom/ethers-abi/dist/abi/fragments.d.ts:286
Returns true and provides a type guard if %%value%% is an
ErrorFragment.
any
value is ErrorFragment
staticisFunction(value):value is FunctionFragment
Defined in: node_modules/@asanrom/ethers-abi/dist/abi/fragments.d.ts:242
Returns true if %%value%% is a [[FunctionFragment]].
any
value is FunctionFragment
staticisStruct(value):value is StructFragment
Defined in: node_modules/@asanrom/ethers-abi/dist/abi/fragments.d.ts:246
Returns true if %%value%% is a [[StructFragment]].
any
value is StructFragment