bastienrobert/la-ferme

View on GitHub
packages/shared/errors/index.ts

Summary

Maintainability
A
0 mins
Test Coverage
export { default as tError } from './locales'

export const UNKNOWN = 'unknown'
export const MAX_PLAYERS_REACHED = 'players.max'
export const GAME_STARTED = 'game.started'
export const USER_UUID_UNDEFINED = 'user.uuid_undefined'
export const NOT_ALLOWED = 'not_allowed'
export const TOO_MANY_REPORTS = 'reports.too_many'
export const SKILL_ALREADY_USED = 'skill.already_used'
export const SKILL_UNAVAILABLE = 'skill.unavailable'

// client only
export const NFC_UNSUPPORTED = 'client.nfc.unsupported'