NoPlayersInServerError

API reference for NoPlayersInServerError in @erlcjs/core.

Error thrown when a command is sent to a private server that has no players.

Signature:

declare class NoPlayersInServerError extends Error

Extends: Error

#Constructors

Constructor

Modifiers

Description

(constructor)(message, commandId)

Constructs a new instance of the NoPlayersInServerError class

#Properties

Property

Modifiers

Type

Description

commandId?

readonly

string | undefined

(Optional)