JS API Reference

Class: GolemConfigError

error/golem-error.GolemConfigError

Represents configuration errors.

Example

Api key not defined

Hierarchy

Table of contents

Constructors

Properties

Constructors

constructor

new GolemConfigError(message, previous?): GolemConfigError

Parameters

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

Returns

GolemConfigError

Inherited from

GolemUserError.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.

Inherited from

GolemUserError.previous

Defined in

src/error/golem-error.ts:10