JS API Reference

Class: GolemReputationError

experimental/reputation/error.GolemReputationError

Module specific errors - Market, Work, Payment. Each of the major modules will have its own domain specific root error type, additionally containing an error code specific to a given subdomain

Hierarchy

Table of contents

Constructors

Properties

Constructors

constructor

new GolemReputationError(message, cause?): GolemReputationError

Parameters

NameType
messagestring
cause?Error

Returns

GolemReputationError

Overrides

GolemModuleError.constructor

Defined in

src/experimental/reputation/error.ts:4

Properties

code

code: string | number

Inherited from

GolemModuleError.code

Defined in

src/shared/error/golem-error.ts:66


previous

Optional Readonly previous: Error

The previous error, if any, that led to this error.

Inherited from

GolemModuleError.previous

Defined in

src/shared/error/golem-error.ts:10

Was this helpful?