kantan.codecs.error
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.
Exception
scala.concurrent.Future
scala.util.Try
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.