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

def fillSuppressed()(implicit unsafe: Unsafe): Unit
override def getCause(): Throwable
Definition Classes
override def getMessage: String
Definition Classes
override def getStackTrace(): Array[StackTraceElement]
Definition Classes
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Returns:

a string representation of the object.

Definition Classes
Throwable -> Any

Inherited methods

final def addSuppressed(x$0: Throwable): Unit
Inherited from:
Throwable
Inherited from:
Throwable
Inherited from:
Throwable
final def getSuppressed(): Array[Throwable]
Inherited from:
Throwable
Inherited from:
Throwable
Inherited from:
Throwable
Inherited from:
Throwable
def printStackTrace(): Unit
Inherited from:
Throwable
def productElementNames: Iterator[String]
Inherited from:
Product
def productIterator: Iterator[Any]
Inherited from:
Product
def setStackTrace(x$0: Array[StackTraceElement]): Unit
Inherited from:
Throwable