Base class for errors
Provides useful instance creation methods for errors that might be created as a result of Java exceptions.
Type class for types that can be used as errors.
Type class for types that can be used as errors.
This is mostly meant to work in conjunction with Error, and lets code that deals with errors turn them into values of the right error type.
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.