Class: CommandRejected
Defined in: client/index.ts:152
A command or leave the room refused, or one that was in flight when the connection dropped.
Extends
Error
Constructors
Constructor
ts
new CommandRejected(reason): CommandRejected;Defined in: client/index.ts:156
Parameters
| Parameter | Type |
|---|---|
reason | string |
Returns
CommandRejected
Overrides
Error.constructor
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
reason | readonly | string | What the room passed to reject(), or not_connected or disconnected. | client/index.ts:154 |