JS API Reference

Class: GolemNetworkError

network/error.GolemNetworkError

Module specific errors - Market, Work, Payment. Each of the major modules will have its own domain specific root error type, additionally containing an error code specific to a given subdomain

Hierarchy

Table of contents

Constructors

Properties

Constructors

constructor

new GolemNetworkError(message, code, network?, previous?): GolemNetworkError

Parameters

NameType
messagestring
codeNetworkErrorCode
network?NetworkInfo
previous?Error

Returns

GolemNetworkError

Overrides

GolemModuleError.constructor

Defined in

src/network/error.ts:17

Properties

code

code: NetworkErrorCode

Inherited from

GolemModuleError.code

Defined in

src/network/error.ts:19


network

Optional network: NetworkInfo

Defined in

src/network/error.ts:20


previous

Optional previous: Error

The previous error, if any, that led to this error.

Inherited from

GolemModuleError.previous

Defined in

src/network/error.ts:21