Rejected

edomata.core.Decision.Rejected
final case class Rejected[R](reasons: Type[R]) extends Decision[R, Nothing, Nothing]

Attributes

Source
Decision.scala
Graph
Supertypes
trait Decision[R, Nothing, Nothing]
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

inline def >>[R2 >: R, E2, B](f: => Decision[R2, E2, B]): Decision[R2, E2, B]

Attributes

Inherited from:
Decision
Source
Decision.scala
inline def >>=[R2 >: R, E2, B](f: Nothing => Decision[R2, E2, B]): Decision[R2, E2, B]

Attributes

Inherited from:
Decision
Source
Decision.scala
def as[B](b: B): Decision[R, E, B]

Attributes

Inherited from:
Decision
Source
Decision.scala
def assert[R2 >: R, B](f: Nothing => Either[R2, B]): Decision[R2, E, A]

Asserts output using an Either without changing it

Asserts output using an Either without changing it

Attributes

Inherited from:
Decision
Source
Decision.scala
def assert[R2 >: R, B](f: Nothing => EitherNec[R2, B]): Decision[R2, E, A]

Asserts output using an EitherNec without changing it

Asserts output using an EitherNec without changing it

Attributes

Inherited from:
Decision
Source
Decision.scala
def assert[R2 >: R, B](f: Nothing => ValidatedNec[R2, B]): Decision[R2, E, A]

Asserts output using a ValidatedNec without changing it

Asserts output using a ValidatedNec without changing it

Attributes

Inherited from:
Decision
Source
Decision.scala
def flatMap[R2 >: R, E2, B](f: Nothing => Decision[R2, E2, B]): Decision[R2, E2, B]

binds another decision to this one, creates a new decision

binds another decision to this one, creates a new decision

Attributes

Inherited from:
Decision
Source
Decision.scala
def flatTap[R2 >: R, E2, B](f: Nothing => Decision[R2, E2, B]): Decision[R2, E2, A]

Attributes

Inherited from:
Decision
Source
Decision.scala

whether is accepted or not

whether is accepted or not

Attributes

Inherited from:
Decision
Source
Decision.scala

whether is rejected or not

whether is rejected or not

Attributes

Inherited from:
Decision
Source
Decision.scala
def map[B](f: Nothing => B): Decision[R, E, B]

creates a new decision that changes the output value of this one

creates a new decision that changes the output value of this one

Attributes

Inherited from:
Decision
Source
Decision.scala

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product
def toEither: EitherNec[R, A]

Ignores events and creates an Either

Ignores events and creates an Either

Attributes

Inherited from:
Decision
Source
Decision.scala
def toOption: Option[A]

Ignores events and errors and creates an Option that contains program output

Ignores events and errors and creates an Option that contains program output

Attributes

Inherited from:
Decision
Source
Decision.scala

Ignores events and creates a ValidatedNec

Ignores events and creates a ValidatedNec

Attributes

Inherited from:
Decision
Source
Decision.scala
def validate[R2 >: R, B](f: Nothing => Either[R2, B]): Decision[R2, E, B]

Validates output using an Either

Validates output using an Either

Attributes

Inherited from:
Decision
Source
Decision.scala
def validate[R2 >: R, B](f: Nothing => EitherNec[R2, B]): Decision[R2, E, B]

Validates output using an EitherNec

Validates output using an EitherNec

Attributes

Inherited from:
Decision
Source
Decision.scala
def validate[R2 >: R, B](f: Nothing => ValidatedNec[R2, B]): Decision[R2, E, B]

Validates output using a ValidatedNec

Validates output using a ValidatedNec

Attributes

Inherited from:
Decision
Source
Decision.scala
def visit[B](fr: Type[R] => B, fa: Nothing => B): B

traverses this decision, run fr if there are errors and runs fa if there is some output

traverses this decision, run fr if there are errors and runs fa if there is some output

Attributes

Inherited from:
Decision
Source
Decision.scala
def void: Decision[R, E, Unit]

Ignores output value

Ignores output value

Attributes

Inherited from:
Decision
Source
Decision.scala