Skuld.Coroutine.Errored (skuld v0.30.0)

View Source

Fiber that terminated with an error.

Env semantics

env is the environment at error time — scope and state as they were when the error occurred. The scheduler extracts env.state into shared pool state. Scoped effects have already run their leave_scope cleanup (errors propagate through the leave_scope chain).

Summary

Types

t()

@type t() :: %Skuld.Coroutine.Errored{
  env: Skuld.Comp.Env.t(),
  error: term(),
  id: term()
}