FiberFailure

final case class FiberFailure(cause: Cause[Any]) extends Throwable

Represents a failure in a fiber. This could be caused by some non- recoverable error, such as a defect or system error, by some typed error, or by interruption (or combinations of all of the above).

This class is used to wrap ZIO failures into something that can be thrown, to better integrate with Scala exception handling.

trait Product
trait Equals
class Throwable
class Object
trait Matchable
class Any

Value members

Concrete methods

override def getMessage: String
Definition Classes

Inherited methods

final def addSuppressed(x$0: Throwable): Unit
Inherited from:
Throwable
Inherited from:
Throwable
Inherited from:
Throwable
Inherited from:
Throwable
Inherited from:
Throwable
Inherited from:
Throwable
Inherited from:
Throwable
Inherited from:
Throwable
Inherited from:
Throwable
Inherited from:
Product
Inherited from:
Throwable