Skip to content

SessionRefused beta ​

Class of @v12-engine/engine

ts
export declare class SessionRefused extends Error

The host said no, with why: to come back to a game that is over, or a player let go. Trying again does not help

Members ​

constructor ​

ts
constructor(
    reason: string);

Constructs a new instance of the SessionRefused class

reason ​

ts
readonly reason: string;

Why the host refused, in words