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

Source
FiberFailure.scala
Graph
Supertypes
trait Product
trait Equals
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def fillSuppressed()(implicit unsafe: Unsafe): Unit

Attributes

Source
FiberFailure.scala
override def getCause: Throwable

Attributes

Definition Classes
Throwable
Source
FiberFailure.scala
override def getMessage: String

Attributes

Definition Classes
Throwable
Source
FiberFailure.scala
override def getStackTrace: Array[StackTraceElement]

Attributes

Definition Classes
Throwable
Source
FiberFailure.scala
override def printStackTrace(s: PrintStream): Unit

Attributes

Definition Classes
Throwable
Source
FiberFailure.scala
override def printStackTrace(s: PrintWriter): Unit

Attributes

Definition Classes
Throwable
Source
FiberFailure.scala
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
Source
FiberFailure.scala

Inherited methods

final def addSuppressed(x$0: Throwable): Unit

Attributes

Inherited from:
Throwable
def fillInStackTrace(): Throwable

Attributes

Inherited from:
Throwable
def getLocalizedMessage(): String

Attributes

Inherited from:
Throwable
final def getSuppressed(): Array[Throwable]

Attributes

Inherited from:
Throwable
def initCause(x$0: Throwable): Throwable

Attributes

Inherited from:
Throwable

Attributes

Inherited from:
Throwable

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product
def setStackTrace(x$0: Array[StackTraceElement]): Unit

Attributes

Inherited from:
Throwable