//! Error handling utilities for the consumer //! //! This module provides common error types and utilities for consistent error handling //! across the consumer crate. We use `eyre` for rich error context and `color-eyre` //! for beautiful terminal output. //! //! # Philosophy //! //! - **Single error type**: Use `Result` (aliased to `eyre::Result`) everywhere //! - **Rich context**: Wrap errors at every layer with `.wrap_err()` or `.context()` //! - **Error boundaries**: Errors bubble to specific points (workers, handlers) where decisions are made //! - **Actionable errors**: Include enough context to diagnose without additional logs /// Standard Result type used throughout the consumer /// /// This is an alias for `color_eyre::eyre::Result` pub type Result = color_eyre::eyre::Result;