Skip to content

Class: ServerError

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

The ServerError class is a base class all other errors in this module inherit from.

Extends

  • Error

Extended by

Constructors

new ServerError()

new ServerError(message?): ServerError

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

The constructor returns a newly created ServerError object.

Parameters

message?

string = "Unknown error"

A human-readable description of the error.

Returns

ServerError

Overrides

Error.constructor

Properties

cause?

optional cause: unknown;

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

Inherited from

Error.cause

message

message: string;

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

Inherited from

Error.message

name

name: string;

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

Inherited from

Error.name

stack?

optional stack: string;

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

Inherited from

Error.stack