Packages

case class Bad[+A](errs: StrList) extends EMon[A] with Product with Serializable

The errors case of EMon[+A]. This corresponds, but is not functionally equivalent to an Either[List[String], +A] based Left[List[String], +A].

Linear Supertypes
Serializable, Product, Equals, EMon[A], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Bad
  2. Serializable
  3. Product
  4. Equals
  5. EMon
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new Bad(errs: StrList)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def biMap[L2, R2](fLeft: (StrList) => L2, fRight: (A) => R2): Either[L2, R2]
    Definition Classes
    BadEMon
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  7. def eitherFlatMap[D](f: (A) => Either[StrList, D]): Either[StrList, D]
    Definition Classes
    BadEMon
  8. def eitherMap[D](f: (A) => D): Either[StrList, D]
    Definition Classes
    BadEMon
  9. def elseTry[A1 >: A](otherValue: EMon[A1]): EMon[A1]

    Use this EMon if good else use other EMmn

    Use this EMon if good else use other EMmn

    Definition Classes
    BadEMon
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. val errs: StrList
    Definition Classes
    BadEMon
  12. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  13. def flatMap[B](f: (A) => EMon[B]): EMon[B]
    Definition Classes
    BadEMon
  14. def fold[B](fBad: (StrList) => B, fGood: (A) => B): B

    Fold the EMon of type A into a type of B.

    Fold the EMon of type A into a type of B.

    Definition Classes
    EMon
    Annotations
    @inline()
  15. def forEither(fBad: (StrList) => Unit, fGood: (A) => Unit): Unit

    This is just a Unit returning map, but is preferred because the method is explicit that it is called for effects not a value.

    This is just a Unit returning map, but is preferred because the method is explicit that it is called for effects not a value.

    Definition Classes
    EMon
  16. def foreach(f: (A) => Unit): Unit

    Will perform action if Good.

    Will perform action if Good. Does nothing if Bad.

    Definition Classes
    BadEMon
  17. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  18. def getElse[A1 >: A](elseValue: => A1): A1
    Definition Classes
    BadEMon
  19. def isBad: Boolean
    Definition Classes
    BadEMon
  20. def isGood: Boolean
    Definition Classes
    BadEMon
  21. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  22. def map[B](f: (A) => B): EMon[B]
    Definition Classes
    BadEMon
  23. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  24. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  25. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  26. def productElementNames: Iterator[String]
    Definition Classes
    Product
  27. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  28. def toEither: Either[StrList, A]
    Definition Classes
    BadEMon
  29. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  30. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  31. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from EMon[A]

Inherited from AnyRef

Inherited from Any

Ungrouped