scalata.domain.util.GameResult
See theGameResult companion trait
object GameResult
ADT representing the outcome of a domain operation.
==== Cases ====
-
Success[T]– carries a value of typeTand an optional user-facing message. -
Error– wraps a non-recoverableGameError.
Helper constructors success and error make call-sites concise.
Attributes
- Companion
- trait
- Graph
-
- Supertypes
-
trait Sumtrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
GameResult.type
Members list
In this article