JS API Reference
Class: GolemPlatformError
shared/error/golem-error.GolemPlatformError
Represents errors resulting from yagna’s errors or provider failure @examples:
- yagna results with a HTTP 500-error
- the provider failed to deploy the activity - permission denied when creating the activity on the provider system itself
Hierarchy
- ↳ - GolemPlatformError
Table of contents
Constructors
Properties
Constructors
constructor
• new GolemPlatformError(message, previous?): GolemPlatformError
Parameters
| Name | Type | Description | 
|---|---|---|
| message | string | - | 
| previous? | Error | The previous error, if any, that led to this error. | 
Returns
Inherited from
Defined in
src/shared/error/golem-error.ts:5
Properties
previous
• Optional Readonly previous: Error
The previous error, if any, that led to this error.