JS API Reference

Class: GolemMarketError

market/error.GolemMarketError

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 GolemMarketError(message, code, previous?): GolemMarketError

Parameters

NameType
messagestring
codeMarketErrorCode
previous?Error

Returns

GolemMarketError

Overrides

GolemModuleError.constructor

Defined in

src/market/error.ts:22

Properties

code

code: MarketErrorCode

Inherited from

GolemModuleError.code

Defined in

src/market/error.ts:24


previous

Optional previous: Error

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

Inherited from

GolemModuleError.previous

Defined in

src/market/error.ts:25