JS API Reference

Class: GolemError

error/golem-error.GolemError

Base class for all errors directly thrown by Golem SDK.

Hierarchy

Table of contents

Constructors

Properties

Constructors

constructor

new GolemError(message, previous?): GolemError

Parameters

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

Returns

GolemError

Overrides

Error.constructor

Defined in

src/error/golem-error.ts:5

Properties

previous

Optional Readonly previous: Error

The previous error, if any, that led to this error.

Defined in

src/error/golem-error.ts:10

Was this helpful?