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
Linear Supertypes
Known Subclasses
Ordering
- Alphabetic
- By Inheritance
Inherited
- Error
- Product
- Equals
- Exception
- Throwable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new Error(message: String)
Abstract Value Members
Concrete Value Members
- final def addSuppressed(arg0: Throwable): Unit
- Definition Classes
- Throwable
- def fillInStackTrace(): Throwable
- Definition Classes
- Throwable
- def getCause(): Throwable
- Definition Classes
- Throwable
- def getLocalizedMessage(): String
- Definition Classes
- Throwable
- def getMessage(): String
- Definition Classes
- Throwable
- def getStackTrace(): Array[StackTraceElement]
- Definition Classes
- Throwable
- final def getSuppressed(): Array[Throwable]
- Definition Classes
- Throwable
- def initCause(arg0: Throwable): Throwable
- Definition Classes
- Throwable
- def printStackTrace(arg0: PrintWriter): Unit
- Definition Classes
- Throwable
- def printStackTrace(arg0: PrintStream): Unit
- Definition Classes
- Throwable
- def printStackTrace(): Unit
- Definition Classes
- Throwable
- def productElementName(n: Int): String
- Definition Classes
- Product
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def productIterator: Iterator[Any]
- Definition Classes
- Product
- def productPrefix: String
- Definition Classes
- Product
- def setStackTrace(arg0: Array[StackTraceElement]): Unit
- Definition Classes
- Throwable
- final def toString(): String
- Definition Classes
- Error → Throwable → AnyRef → Any