JS API Reference
Class: GolemError
shared/error/golem-error.GolemError
Base class for all errors directly thrown by Golem SDK.
Hierarchy
Error
↳
GolemError
Table of contents
Constructors
Properties
Constructors
constructor
• new GolemError(message
, previous?
): GolemError
Parameters
Name | Type | Description |
---|---|---|
message | string | - |
previous? | Error | The previous error, if any, that led to this error. |
Returns
Overrides
Error.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.