Skip to main content

Interface: Error

Reports an error, e.g. when a subscription is malformed.

Properties

errorCode

errorCode: string

Code for this error, e.g. "tx-not-found".

Defined in

src/ChronikClient.ts:1102


isUserError

isUserError: boolean

Whether this error is presentable to an end-user. This is somewhat subjective, but can be used as a good heuristic.

Defined in

src/ChronikClient.ts:1109


msg

msg: string

Human-readable message for this error.

Defined in

src/ChronikClient.ts:1104


type

type: "Error"

Defined in

src/ChronikClient.ts:1100