Class: CortexJoinRefusedError
The join gate refused a participant token because the player is banned
(temp_ban / perm_ban). Thrown by project.participants.issueToken();
sanction is the ban that keeps the player out (the longest one), so the
backend can tell the player until when.
Extends
Constructors
new CortexJoinRefusedError()
Parameters
| Parameter | Type | Description |
|---|---|---|
message | string | - |
sanction | Record<string, unknown> | The ban, as the API's SanctionResponse |
Returns
Overrides
Defined in
odin-transcription-service/packages/cortex-typescript-sdk/src/errors.ts:69
Properties
| Property | Modifier | Type | Description | Inherited from | Defined in |
|---|---|---|---|---|---|
details? | readonly | unknown | - | CortexError.details | odin-transcription-service/packages/cortex-typescript-sdk/src/errors.ts:11 |
sanction | readonly | Record<string, unknown> | The ban, as the API's SanctionResponse | - | odin-transcription-service/packages/cortex-typescript-sdk/src/errors.ts:72 |
statusCode? | readonly | number | - | CortexError.statusCode | odin-transcription-service/packages/cortex-typescript-sdk/src/errors.ts:10 |