abstract classError 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.
Linear Supertypes
Serializable, Product, Equals, Exception, Throwable, Serializable, AnyRef, Any
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 withscala.concurrent.Future
andscala.util.Try
, for example.