Scala Standard Library 2.13.15 - scala.util.Failure (original) (raw)

final case class Failure[+T](exception: Throwable) extends Try[T] with Product with Serializable

Ordering

  1. Alphabetic
  2. By Inheritance

Inherited

  1. Failure
  2. Try
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any

Implicitly

  1. by any2stringadd

  2. by StringFormat

  3. by Ensuring

  4. by ArrowAssoc

  5. Hide All

  6. Show All

Visibility

  1. Public
  2. Protected

Instance Constructors

  1. new Failure(exception: Throwable)

Value Members

  1. final def !=(arg0: Any): Boolean
  2. final def ##: Int
  3. def +(other: String): String
  4. def ->[B](y: B): (Failure[T], B)
  5. final def ==(arg0: Any): Boolean
  6. final def asInstanceOf[T0]: T0
  7. def clone(): AnyRef
  8. def collect[U](pf: PartialFunction[T, U]): Try[U]
  9. def ensuring(cond: (Failure[T]) => Boolean, msg: => Any): Failure[T]
  10. def ensuring(cond: (Failure[T]) => Boolean): Failure[T]
  11. def ensuring(cond: Boolean, msg: => Any): Failure[T]
  12. def ensuring(cond: Boolean): Failure[T]
  13. final def eq(arg0: AnyRef): Boolean
  14. val exception: Throwable
  15. def failed: Try[Throwable]
  16. def filter(p: (T) => Boolean): Try[T]
  17. def finalize(): Unit
  18. def flatMap[U](f: (T) => Try[U]): Try[U]
  19. def flatten[U](implicit ev: <:<[T, Try[U]]): Try[U]
  20. def fold[U](fa: (Throwable) => U, fb: (T) => U): U
  21. def foreach[U](f: (T) => U): Unit
  22. def get: T
  23. final def getClass(): Class[_ <: AnyRef]
  24. def getOrElse[U >: T](default: => U): U
  25. def isFailure: Boolean
  26. final def isInstanceOf[T0]: Boolean
  27. def isSuccess: Boolean
  28. def map[U](f: (T) => U): Try[U]
  29. final def ne(arg0: AnyRef): Boolean
  30. final def notify(): Unit
  31. final def notifyAll(): Unit
  32. def orElse[U >: T](default: => Try[U]): Try[U]
  33. def productElementNames: Iterator[String]
  34. def recover[U >: T](pf: PartialFunction[Throwable, U]): Try[U]
  35. def recoverWith[U >: T](pf: PartialFunction[Throwable, Try[U]]): Try[U]
  36. final def synchronized[T0](arg0: => T0): T0
  37. def toEither: Either[Throwable, T]
  38. def toOption: Option[T]
  39. def transform[U](s: (T) => Try[U], f: (Throwable) => Try[U]): Try[U]
  40. final def wait(): Unit
  41. final def wait(arg0: Long, arg1: Int): Unit
  42. final def wait(arg0: Long): Unit
  43. final def withFilter(p: (T) => Boolean): WithFilter

Ungrouped