JS API Reference
Class: GolemError
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
Properties
previous
• Optional
Readonly
previous: Error
The previous error, if any, that led to this error.