errorcore
State Tracking

Overview

errorcore tracks state per incident, not as a process-wide telemetry stream. That incident model is what lets the SDK combine a thrown error with the exact request, local values, and IO that belonged to the same failure path.

The main state buckets are:

  • error metadata
  • request context
  • local variables
  • ordered IO
  • transport and delivery state

That separation keeps the package precise and makes it easier to reason about what was captured versus what was intentionally excluded.

On this page