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