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

Table of contents

Constructors

Properties

Constructors

constructor

new GolemPlatformError(message, previous?): GolemPlatformError

Parameters

NameTypeDescription
messagestring-
previous?ErrorThe previous error, if any, that led to this error.

Returns

GolemPlatformError

Inherited from

GolemError.constructor

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.

Inherited from

GolemError.previous

Defined in

src/shared/error/golem-error.ts:10

Was this helpful?