scalata.domain.util.GameError
See theGameError companion object
Enumeration of domain-level errors exchanged between use-cases, controllers and the view layer.
==== Contract ==== Each error provides:
message– short, end-user text shown in the UI.errorCode– stable identifier useful for logs or tests.
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class GameOverclass Helpclass InvalidDirectionclass InvalidInputclass ItemNotOwnedclass ItemNotPresentclass Undoclass UndoError
Members list
In this article