Skip to content
scalive
Menu
ConnectingLiveReconnectingOffline
GitHub
e

Died

enum Died(defect: Throwable) extends LiveAsyncResult[Nothing, Nothing]

The task died with a defect, such as ZIO.die or an exception thrown inside ZIO.succeed.

The owner keeps running; Scalive also logs the defect. Show stable copy to the visitor rather than the exception message.

Parameters

defect

The defect the task died with.

Defined by scalive.LiveAsyncResult.Died. View source (scalive/api/src/scalive/lifecycle/Async.scala:35-35)

Values1

defect

val defect: Throwable

The defect the task died with.

Defined by scalive.LiveAsyncResult.Died.defect. View source (scalive/api/src/scalive/lifecycle/Async.scala:35-35)