Skip to main content

Module error

Module error 

Source
Expand description

The netsky error taxonomy.

We speak in typed variants, not untyped messages. Each variant names a concrete boundary where recovery is meaningful: I/O, subprocess timeout vs nonzero exit, missing dep, tmux, prompt render, invalid input. A residual Message catch-all exists for one-shot error sites that don’t yet warrant a dedicated variant — prefer promoting to a typed variant over using Message long-term.

Display + std::error::Error + From impls are hand-rolled — no thiserror. Keeps the error surface transparent at the expense of a few lines per variant; worth it for zero macro deps.

Enums§

Error

Type Aliases§

Result
Convenience alias used across the workspace.