Success

halotukozak.alpaca.Result.Success
final case class Success[+Ctx, +Value, +Err](ctx: Ctx, value: Value)

The whole input was accepted and produced value.

Attributes

Source
Result.scala

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

An iterator over the names of all the elements of this product.

An iterator over the names of all the elements of this product.

Attributes

Inherited from:
Product
Source
Product.scala
def productIterator: Iterator[Any]

An iterator over all the elements of this product.

An iterator over all the elements of this product.

Attributes

Returns

in the default implementation, an Iterator[Any]

Inherited from:
Product
Source
Product.scala
def toEither: Either[::[Err], Value]

The value on the right, or the errors on the left.

The value on the right, or the errors on the left.

Attributes

Inherited from:
Result
Source
Result.scala
def toOption: Option[Value]

The value, or None if there were errors.

The value, or None if there were errors.

Attributes

Inherited from:
Result
Source
Result.scala