web3-ronin-provider

web3-ronin-providerDocs


web3-ronin-provider / isErrorObj

Function: isErrorObj()

isErrorObj(obj): obj is errorObj

Checks if an object contains the fields: errorCode: number, and message: string

Parameters

obj: unknown

Returns

obj is errorObj

Export

Defined in

src/web3-ronin-utils.ts:36