Case
TorState.failed(_:)
Terminal/transient error state carrying the causal TorError.
case failed(TorError)
Discussion
Observed when tor_run_main() returns a non-zero exit status, the start pipeline throws, or an internal assertion fires. The associated value surfaces the underlying cause: typically TorError.startFailed(_:) or TorError.ioError(_:). .failed(_) is transient — a subsequent start() transitions back to .starting; state is not sticky.