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
↳
GolemMarketError
Table of contents
Constructors
Properties
Constructors
constructor
• new GolemMarketError(message
, code
, demand?
, previous?
): GolemMarketError
Parameters
Name | Type |
---|---|
message | string |
code | MarketErrorCode |
demand? | Demand |
previous? | Error |
Returns
Overrides
Defined in
Properties
code
• code: MarketErrorCode
Inherited from
Defined in
demand
• Optional
demand: Demand
Defined in
previous
• Optional
previous: Error
The previous error, if any, that led to this error.