JS API Reference
Class: GolemPaymentError
payment/error.GolemPaymentError
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
↳
GolemPaymentError
Table of contents
Constructors
Properties
Constructors
constructor
• new GolemPaymentError(message
, code
, allocation?
, provider?
, previous?
): GolemPaymentError
Parameters
Name | Type |
---|---|
message | string |
code | PaymentErrorCode |
allocation? | Allocation |
provider? | ProviderInfo |
previous? | Error |
Returns
Overrides
Defined in
Properties
code
• code: PaymentErrorCode
Inherited from
Defined in
allocation
• Optional
allocation: Allocation
Defined in
provider
• Optional
provider: ProviderInfo
Defined in
previous
• Optional
previous: Error
The previous error, if any, that led to this error.