JS API Reference

Class: GolemAbortError

shared/error/golem-error.GolemAbortError

Represents errors related to the user choosing to abort or stop running activities.

Example

CTRL+C abort error

Hierarchy

Table of contents

Constructors

Properties

Constructors

constructor

new GolemAbortError(message, previous?): GolemAbortError

Parameters

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

Returns

GolemAbortError

Inherited from

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

GolemUserError.previous

Defined in

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

Was this helpful?