Success

scalata.domain.util.GameResult.Success
case class Success[T](value: T, message: Option[String]) extends GameResult[T]

Successful outcome.

Value parameters

message

optional note to show in the UI (help text, info, …)

value

payload returned by the operation

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait GameResult[T]
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product