Skip to main content
A Fragment which represents a Custom Error.

Extends

Properties

Accessors

selector

The Custom Error selector.

Returns

string

Source

abi/fragments.ts:1198

Methods

format()

Returns a string representation of this fragment as format.

Parameters

Returns

string

Overrides

NamedFragment.format

Source

abi/fragments.ts:1205

from()

Returns a new ErrorFragment for obj.

Parameters

Returns

ErrorFragment

Overrides

NamedFragment.from

Source

abi/fragments.ts:1228

isConstructor()

Returns true if value is a ConstructorFragment.

Parameters

Returns

value is ConstructorFragment

Inherited from

NamedFragment.isConstructor

Source

abi/fragments.ts:1122

isError()

Returns true if value is an ErrorFragment.

Parameters

Returns

value is ErrorFragment

Inherited from

NamedFragment.isError

Source

abi/fragments.ts:1129

isEvent()

Returns true if value is an EventFragment.

Parameters

Returns

value is EventFragment

Inherited from

NamedFragment.isEvent

Source

abi/fragments.ts:1136

isFragment()

Returns true and provides a type guard if value is an ErrorFragment.

Parameters

Returns

value is ErrorFragment

Source

abi/fragments.ts:1249

isFunction()

Returns true if value is a FunctionFragment.

Parameters

Returns

value is FunctionFragment

Inherited from

NamedFragment.isFunction

Source

abi/fragments.ts:1143

isStruct()

Returns true if value is a StructFragment.

Parameters

Returns

value is StructFragment

Inherited from

NamedFragment.isStruct

Source

abi/fragments.ts:1150