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
↳
GolemNetworkError
Table of contents
Constructors
Properties
Methods
Constructors
constructor
• new GolemNetworkError(message
, code
, network?
, previous?
): GolemNetworkError
Parameters
Name | Type |
---|---|
message | string |
code | NetworkErrorCode |
network? | NetworkInfo |
previous? | Error |
Returns
Overrides
Defined in
Properties
code
• code: NetworkErrorCode
Inherited from
Defined in
previous
• Optional
previous: Error
The previous error, if any, that led to this error.
Inherited from
Defined in
Methods
getNetwork
▸ getNetwork(): undefined
| NetworkInfo
Returns
undefined
| NetworkInfo
Defined in
Was this helpful?