Packages

p

e

scala

package scala

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. scala
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Package Members

  1. package codec

Type Members

  1. final case class E(code: Option[Int] = None, name: Option[String] = None, message: Option[String] = None, causes: List[E] = List.empty, data: Map[String, String] = Map.empty, time: Option[Long] = None) extends Product with Serializable

    A generic and immutable error, containing helpful information

    A generic and immutable error, containing helpful information

    code

    A numeric code identifying this error

    name

    A name identifying this error, usually enum-like

    message

    A message about this error, usually human-readable

    causes

    Underlying cause(s) of this error, if any

    data

    Arbitrary data related to this error as a key-value map

    time

    Time when this error occurred as milliseconds, see java.lang.System#currentTimeMillis

  2. final case class EException(e: E) extends RuntimeException with Product with Serializable

    A RuntimeException wrapping E to be used where errors are represented as E but an Exception is needed

    A RuntimeException wrapping E to be used where errors are represented as E but an Exception is needed

    e

    An E

    See also

    _root_.e.scala.E

    java.lang.RuntimeException

  3. sealed trait EOr[+A] extends AnyRef

    A container that can either be a Failure containing an E or Success containing a value, semantically a combination of Either and Try but specialized for E

    A container that can either be a Failure containing an E or Success containing a value, semantically a combination of Either and Try but specialized for E

    A

    Type of the value this EOr can contain

    See also

    e.scala.E

    _root_.scala.util.Either

    _root_.scala.util.Try

  4. implicit class EitherExtensionsForEOr[L, R] extends AnyRef
  5. implicit class OptionExtensionsForEOr[A] extends AnyRef
  6. implicit class ThrowableExtensionsForEOr extends AnyRef
  7. implicit class TryExtensionsForEOr[A] extends AnyRef
  8. implicit class ValueExtensionsForEOr[A] extends AnyRef
  9. type or[+_ <: E, +A] = EOr[A]

    Type alias for EOr, allowing a more pleasing syntax as following:

    Type alias for EOr, allowing a more pleasing syntax as following:

    E or String // instead of EOr[String]
    See also

    e.scala.E

    e.scala.EOr

Value Members

  1. object E extends Serializable
  2. object EOr

Inherited from AnyRef

Inherited from Any

Ungrouped