JS API Reference
Class: GolemUserError
error/golem-error.GolemUserError
User-caused errors in the Golem SDK containing logic errors.
Example
you cannot create an activity for an agreement that already expired
Hierarchy
↳
GolemUserError
Table of contents
Constructors
Properties
Constructors
constructor
• new GolemUserError(message
, previous?
): GolemUserError
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.