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