Error
kantan.codecs.error.Error
abstract class Error(message: String) extends Exception, Product, 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.
Attributes
- Graph
-
- Supertypes
- Known subtypes
Members list
Value members
Inherited methods
Attributes
- Inherited from:
- Throwable
Attributes
- Inherited from:
- Throwable
Attributes
- Inherited from:
- Throwable
Attributes
- Inherited from:
- Throwable
Attributes
- Inherited from:
- Throwable
Attributes
- Inherited from:
- Throwable
Attributes
- Inherited from:
- Throwable
Attributes
- Inherited from:
- Throwable
Attributes
- Inherited from:
- Throwable
Attributes
- Inherited from:
- Throwable
Attributes
- Inherited from:
- Throwable
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- Throwable
In this article