Skip to content
On this page

Class: UtxoUnreadError

Defined in: vote-core/src/verify.ts:26 (opens in a new tab)

Thrown by a UtxoLookup when the chain could not be read for one address: that voter is unread.

ExtendsLink to this section

  • Error

ConstructorsLink to this section

ConstructorLink to this section

TypeScript
new UtxoUnreadError(reason: UtxoUnreadReason, message?: string): UtxoUnreadError;

Defined in: vote-core/src/verify.ts:27 (opens in a new tab)

ParametersLink to this section

ParameterType
reasonUtxoUnreadReason
messagestring

ReturnsLink to this section

UtxoUnreadError

OverridesLink to this section

TypeScript
Error.constructor

PropertiesLink to this section

PropertyTypeDescriptionDefined in
messagestringModifier public · Inherited from Error.messagenode_modules/typescript/lib/lib.es5.d.ts:1077
namestringModifier public · Inherited from Error.namenode_modules/typescript/lib/lib.es5.d.ts:1076
reasonUtxoUnreadReasonModifier readonly · Inherited from -vote-core/src/verify.ts:28 (opens in a new tab)
stack?stringModifier public · Inherited from Error.stacknode_modules/typescript/lib/lib.es5.d.ts:1078