Skip to content

Class: StatementExistsError

Defined in: voxit-web-client.js:131

The StatementExistsError class represents an error when a submitted statement already exists.

Extends

Constructors

new StatementExistsError()

new StatementExistsError(message?): StatementExistsError

Defined in: voxit-web-client.js:136

The constructor returns a newly created StatementExistsError object.

Parameters

message?

string = "Statement already exists"

A human-readable description of the error.

Returns

StatementExistsError

Overrides

ServerError.constructor

Properties

cause?

optional cause: unknown;

Defined in: ../../../../root/.npm/_npx/4661334f0781fdbe/node_modules/typescript/lib/lib.es2022.error.d.ts:26

Inherited from

ServerError.cause


message

message: string;

Defined in: ../../../../root/.npm/_npx/4661334f0781fdbe/node_modules/typescript/lib/lib.es5.d.ts:1077

Inherited from

ServerError.message


name

name: string;

Defined in: ../../../../root/.npm/_npx/4661334f0781fdbe/node_modules/typescript/lib/lib.es5.d.ts:1076

Inherited from

ServerError.name


stack?

optional stack: string;

Defined in: ../../../../root/.npm/_npx/4661334f0781fdbe/node_modules/typescript/lib/lib.es5.d.ts:1078

Inherited from

ServerError.stack