const.ecal 542 B

1234567891011121314151617181920212223242526
  1. /*
  2. Errors types used in the backend
  3. */
  4. Errors := {"EntityNotFound" : "EntityNotFound", "InternalError" : "InternalError"}
  5. ErrorCodes := {"EntityNotFound" : 401, "InternalError" : 500}
  6. /*
  7. Object kinds
  8. */
  9. ObjectKinds := {
  10. /* Asteroid in the game */
  11. "Asteroid" : "asteroid",
  12. /* A player in the game */
  13. "Player" : "player",
  14. /* A shot in the game */
  15. "Shot" : "shot",
  16. /* Conf is a configuration obj */
  17. "ConfigurationObject" : "conf",
  18. /* Score is a player statistic state */
  19. "ScoreObject" : "score"
  20. }