Packages

t

org.specs2.control.eff

ErrorCreation

trait ErrorCreation[F] extends ErrorTypes[F]

Linear Supertypes
ErrorTypes[F], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ErrorCreation
  2. ErrorTypes
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. type Error = Either[Throwable, F]

    type of errors: exceptions or failure messages

    type of errors: exceptions or failure messages

    Definition Classes
    ErrorTypes
  2. type ErrorOrOk[A] = Evaluate[F, A]

    base type for this effect: either an error or a computation to evaluate a "by-name" value

    base type for this effect: either an error or a computation to evaluate a "by-name" value

    Definition Classes
    ErrorTypes
  3. type _ErrorOrOk[R] = MemberInOut[ErrorOrOk, R]
    Definition Classes
    ErrorTypes
  4. type _errorOrOk[R] = MemberIn[ErrorOrOk, R]
    Definition Classes
    ErrorTypes

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 clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  8. def error[R, A](error: Error)(implicit arg0: _errorOrOk[R]): Eff[R, A]

    create an Eff value from an error

  9. def eval[R, A](a: EvalEffect.Eval[A])(implicit arg0: _errorOrOk[R]): Eff[R, A]

    create an Eff value from a computation

  10. def exception[R, A](t: Throwable)(implicit arg0: _errorOrOk[R]): Eff[R, A]

    create an Eff value from an exception

  11. def fail[R, A](failure: F)(implicit arg0: _errorOrOk[R]): Eff[R, A]

    create an Eff value from a failure

  12. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  18. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. def ok[R, A](a: ⇒ A)(implicit arg0: _errorOrOk[R]): Eff[R, A]

    create an Eff value from a computation

  20. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  21. def toString(): String
    Definition Classes
    AnyRef → Any
  22. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Inherited from ErrorTypes[F]

Inherited from AnyRef

Inherited from Any

Ungrouped