JS API Reference
Class: GolemInternalError
error/golem-error.GolemInternalError
Represents errors when the SDK encountered an internal error that wasn't handled correctly.
Example
JSON.parse(undefined) -> Error: Unexpected token u in JSON at position 0
Hierarchy
↳
GolemInternalError
Table of contents
Constructors
Properties
Constructors
constructor
• new GolemInternalError(message
, previous?
): GolemInternalError
Parameters
Name | Type | Description |
---|---|---|
message | string | - |
previous? | Error | The previous error, if any, that led to this error. |
Returns
Inherited from
Defined in
Properties
previous
• Optional
Readonly
previous: Error
The previous error, if any, that led to this error.