FiberFailure

zio.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.

Attributes

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

Members list

Concise view

Value members

Concrete methods

def fillSuppressed()(implicit unsafe: Unsafe): Unit
override def getCause(): Throwable

Attributes

Definition Classes
override def getMessage: String

Attributes

Definition Classes

Attributes

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.

Attributes

Returns:

a string representation of the object.

Definition Classes
Throwable -> Any

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:
Product

Attributes

Inherited from:
Product

Attributes

Inherited from:
Throwable