JS API Reference
Class: GolemInternalError
shared/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
src/shared/error/golem-error.ts:5
Properties
previous
• Optional
Readonly
previous: Error
The previous error, if any, that led to this error.