Something went wrong. Try again.
Rust AppView - highly experimental! forked from parakeet.at/parakeet
Something went wrong. Try again.
Rust
at experiments
123456789101112131415161718//! 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<T>` (aliased to `eyre::Result<T>`) 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<T>`pub type Result<T> = color_eyre::eyre::Result<T>;