12 lines
309 B
TypeScript
12 lines
309 B
TypeScript
export enum ServerError {
|
|
CREATE_LOBBY_ERROR = "create-lobby-error",
|
|
JOIN_LOBBY_ERROR = "join-lobby-error",
|
|
}
|
|
|
|
export enum ErrorCode {
|
|
PLAYER_NOT_FOUND = "player-not-found",
|
|
GAME_NOT_FOUND = "game-not-found",
|
|
MISSING_USER_NAME = "missing-player-name",
|
|
INVALID_USER_NAME = "invalid-player-name",
|
|
}
|