Expand description
Typed failure taxonomy for article downloads.
Replaces the previous String-typed ProgressUpdate::ArticleFailed { error }.
Carrying a structured ArticleFailureKind lets the queue manager, hopeless
tracker, and circuit breaker each react to what failed without parsing
free-form messages — and lets future per-server retry policy be expressed
in code rather than in regex.
Classification happens at the emit site (the worker that observed the
failure), where the original NntpError is still typed. By the time the
failure crosses the progress channel, it has been reduced to one of the
kinds below plus an opaque message for human-readable logs.
Structs§
- Article
Failure - A classified article failure ready to flow through the progress channel.
Enums§
- Article
Failure Kind - Why an article failed. Drives retry decisions, hopeless tracking, and circuit-breaker logic.