Packages

abstract class Error extends Exception with Product with Serializable

Base class for errors

This is specifically meant for errors represented as ADTs. The fact that it extends Exception is an unfortunate side effect of the Scala stdlib's reliance on exceptions, as seen with scala.concurrent.Future and scala.util.Try, for example.

Source
Error.scala
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Error
  2. Product
  3. Equals
  4. Exception
  5. Throwable
  6. Serializable
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new Error(message: String)

Abstract Value Members

  1. abstract def canEqual(that: Any): Boolean
    Definition Classes
    Equals
  2. abstract def productArity: Int
    Definition Classes
    Product
  3. abstract def productElement(n: Int): Any
    Definition Classes
    Product

Concrete Value Members

  1. final def addSuppressed(arg0: Throwable): Unit
    Definition Classes
    Throwable
  2. def fillInStackTrace(): Throwable
    Definition Classes
    Throwable
  3. def getCause(): Throwable
    Definition Classes
    Throwable
  4. def getLocalizedMessage(): String
    Definition Classes
    Throwable
  5. def getMessage(): String
    Definition Classes
    Throwable
  6. def getStackTrace(): Array[StackTraceElement]
    Definition Classes
    Throwable
  7. final def getSuppressed(): Array[Throwable]
    Definition Classes
    Throwable
  8. def initCause(arg0: Throwable): Throwable
    Definition Classes
    Throwable
  9. def printStackTrace(arg0: PrintWriter): Unit
    Definition Classes
    Throwable
  10. def printStackTrace(arg0: PrintStream): Unit
    Definition Classes
    Throwable
  11. def printStackTrace(): Unit
    Definition Classes
    Throwable
  12. def productElementName(n: Int): String
    Definition Classes
    Product
  13. def productElementNames: Iterator[String]
    Definition Classes
    Product
  14. def productIterator: Iterator[Any]
    Definition Classes
    Product
  15. def productPrefix: String
    Definition Classes
    Product
  16. def setStackTrace(arg0: Array[StackTraceElement]): Unit
    Definition Classes
    Throwable
  17. final def toString(): String
    Definition Classes
    Error → Throwable → AnyRef → Any